Build an automated geometric particle spirograph in Minecraft that weaves glowing pentagrams and intricate star patterns in mid-air using command blocks.
Math CurvesMysticFireOrangeCyanPurpleDecorationLearningServer LobbyBlock displaysSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
This command creation builds an automated geometric spirograph floating above an obsidian pedestal. Invisible rotating markers act as mechanical gears, spinning at precise harmonic ratios to weave three-pointed stars, glowing pentagrams, and layered floral curves out of flame and colored dust particles.
By stacking relative rotations with /execute, simple circular motions combine into complex sacred geometry patterns that draw themselves live in mid-air without needing any mods or data packs.
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:polished_blackstone_bricks/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:crying_obsidian/setblock ~ ~ ~ minecraft:lodestone/summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_spiro","c9_core_disp"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,-0.25f,-0.25f]}}/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_spiro","c9_arm_a1"],Rotation:[0f,0f]}/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_spiro","c9_arm_a2"],Rotation:[0f,0f]}/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_spiro","c9_arm_b1"],Rotation:[0f,0f]}/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_spiro","c9_arm_b2"],Rotation:[0f,0f]}/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_spiro","c9_arm_c1"],Rotation:[120f,0f]}/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_spiro","c9_arm_c2"],Rotation:[0f,0f]}/execute as @e[tag=c9_arm_a1] at @s run tp @s ~ ~ ~ ~8 ~/execute as @e[tag=c9_arm_a2] at @s run tp @s ~ ~ ~ ~-12 ~/execute as @e[tag=c9_arm_b1] at @s run tp @s ~ ~ ~ ~-16 ~/execute as @e[tag=c9_arm_b2] at @s run tp @s ~ ~ ~ ~12 ~/execute as @e[tag=c9_arm_c1] at @s run tp @s ~ ~ ~ ~6 ~/execute as @e[tag=c9_arm_c2] at @s run tp @s ~ ~ ~ ~-30 ~/execute at @e[tag=c9_arm_a1] rotated as @e[tag=c9_arm_a1,limit=1] positioned ^ ^ ^4.2 rotated as @e[tag=c9_arm_a2,limit=1] positioned ^ ^ ^2.8 run particle minecraft:flame ~ ~ ~ 0 0 0 0 1 force/execute at @e[tag=c9_arm_a1] rotated as @e[tag=c9_arm_a1,limit=1] positioned ^ ^ ^4.2 rotated as @e[tag=c9_arm_a2,limit=1] positioned ^ ^ ^2.8 run particle minecraft:dust{color:[1.0,0.65,0.0],scale:1.5} ~ ~ ~ 0.05 0.05 0.05 0 2 force/execute at @e[tag=c9_arm_b1] rotated as @e[tag=c9_arm_b1,limit=1] positioned ^ ^ ^2.0 rotated as @e[tag=c9_arm_b2,limit=1] positioned ^ ^ ^3.5 run particle minecraft:soul_fire_flame ~ ~ ~ 0 0 0 0 1 force/execute at @e[tag=c9_arm_b1] rotated as @e[tag=c9_arm_b1,limit=1] positioned ^ ^ ^2.0 rotated as @e[tag=c9_arm_b2,limit=1] positioned ^ ^ ^3.5 run particle minecraft:dust{color:[0.0,0.9,1.0],scale:1.4} ~ ~ ~ 0.05 0.05 0.05 0 2 force/execute at @e[tag=c9_arm_c1] rotated as @e[tag=c9_arm_c1,limit=1] positioned ^ ^ ^3.4 rotated as @e[tag=c9_arm_c2,limit=1] positioned ^ ^1.5 ^2.2 run particle minecraft:dust{color:[0.95,0.2,1.0],scale:1.4} ~ ~ ~ 0 0 0 0 2 force/execute at @e[tag=c9_arm_c1] rotated as @e[tag=c9_arm_c1,limit=1] positioned ^ ^ ^6.8 run particle minecraft:end_rod ~ ~ ~ 0 0 0 0 1 force/execute at @e[tag=c9_arm_a1] rotated as @e[tag=c9_arm_a1,limit=1] positioned ^ ^ ^4.2 run particle minecraft:electric_spark ~ ~ ~ 0 0 0 0 1 force/particle minecraft:portal ~ ~4.5 ~ 0.4 0.4 0.4 0.5 3 forcesetup #4 Summons a glowing <code>block_display</code> sea lantern floating 4.5 blocks above the lodestone to act as the bright geometric anchor at the center of the spirograph.setup #5 Summons invisible <code>marker</code> entities at the center point. Each pair of markers (A1/A2, B1/B2, C1/C2) acts like a two-jointed mechanical arm.loop #1 Rotates the first joint of Arm A by +8 degrees every tick, while the next command rotates the second joint by -12 degrees. Because -12 and +8 have a -3:2 ratio, the combined motion traces a 5-pointed star (pentagram).loop #7 Chains <code>rotated as</code> and local coordinates (<code>^ ^ ^</code>) to step 4.2 blocks outward along the first marker's angle, then pivots to the second marker's angle and steps 2.8 blocks outward to spawn the flame particle along the spirograph curve.loop #9 Uses Arm B (-16 degrees and +12 degrees, a -4:3 ratio) to weave a 7-pointed soul fire star pattern spinning in the opposite direction inside the golden pentagram.loop #11 Adds a vertical offset (<code>^ ^1.5 ^2.2</code>) on Arm C (+6 and -30 degrees) to draw a 6-petaled 3D magenta flower ring hovering slightly above the main horizontal star plane.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A white particle circle surrounds a small crying obsidian and blackstone pedestal while trails of orange flames, blue soul flames, and purple particles trace geometric curves inside it.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the spirograph follow a player around like a magical aura, add a repeating command block running /execute at @p run tp @e[tag=c9_spiro] ~ ~2.5 ~. Because the teleport command uses only three tilde coordinates and omits rotation arguments, the markers will move to float above your head while keeping their independent spinning angles intact.
/kill @e[tag=c9_spiro]/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_block/setblock ~ ~ ~ minecraft:airChange the rotation angles in the first six loop commands. When two linked markers rotate in opposite directions at speeds A and B, the number of star points equals (A + B) divided by their greatest common divisor. For example, +10 and -15 degrees gives (10 + 15) / 5 = 5 points.
No. It uses only 6 lightweight marker entities and 1 block display entity that never multiply. All visuals are created with client-side particles that fade away naturally after a couple of seconds.
▶Spinning DNA Torus Knot SupercoilMath CurvesExpert23 cmds
▶Twisting Double-Pendulum Chaos Light PaintingMath CurvesHard24 cmds
▶Weaving Celtic Knotwork Tapestry LoomMath CurvesHard24 cmds
▶Morphing Ammonite Suture Fractal ShellMath CurvesHard21 cmds
▶Oscillating String Theory Calabi-Yau ManifoldMath CurvesExpert23 cmds
▶Self-Inverting Klein Bottle Manifold FlowMath CurvesExpert21 cmds