Harmonic Particle Spirograph

Two glowing particle ribbons weave a tilted 7-petal 3D mandala around a spinning nether star using counter-harmonic markers and a live sine wave.

Java EditionParticle ArtMedium24 commandsTested on a real 26.2 & 26.3 server
Colorful particle ribbons and white sparkles form a tilted spirograph around a floating nether star at night. Download the GIF Video & GIF © www.9minecraft.net

Math CurvesMysticSpaceCyanPurpleGoldDecorationLearningServer LobbyItem displaysSmooth animation (interpolation)Rotation math21+ commands

Two glowing dust_color_transition ribbons—one shifting from cyan to violet and the other from gold to magenta—weave a tilted seven-petal 3D mandala around a bright spinning nether star. Sparkling end_rod trails trace the full petal geometry continuously in midair.

Instead of hardcoded particle coordinates, invisible marker entities rotate at counter-harmonic speeds (+10 and -25 degrees per tick) to calculate nested epicycles in real time, while the spinning core drives a continuous vertical sine wave and a 37-degree tilt toward the viewer.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9 dummy
  2. /summon marker ~ ~7.5 ~ {Tags:["c9_r1","c9_spiro"]}
  3. /summon marker ~ ~7.5 ~ {Tags:["c9_r2","c9_spiro"],Rotation:[0f,-25f]}
  4. /summon marker ~ ~7.5 ~ {Tags:["c9_probe","c9_spiro"]}
  5. /summon item_display ~ ~7.5 ~ {Tags:["c9_core","c9_spiro"],item:{id:"minecraft:nether_star",count:1},brightness:{sky:15,block:15},teleport_duration:2,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}
  6. /execute store result score #base c9 run data get entity @e[tag=c9_r1,limit=1] Pos[1] 1000
  7. /execute store result score #tmp c9 run data get entity @e[tag=c9_r1,limit=1] Pos[2] 750
  8. /scoreboard players operation #base c9 += #tmp c9
  9. /execute store result score #tmp c9 run data get entity @e[tag=c9_r1,limit=1] Pos[0] 1000
  10. /scoreboard players operation #base c9 -= #tmp c9

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /execute as @e[tag=c9_r1,limit=1] at @s run tp @s ~ ~ ~ ~10 ~
  2. /execute as @e[tag=c9_core,limit=1] at @s run tp @s ~ ~ ~ ~35 ~
  3. /execute at @e[tag=c9_core,limit=1] run tp @e[tag=c9_probe,limit=1] ^ ^ ^1.5
  4. /execute at @e[tag=c9_r1,limit=1] run tp @e[tag=c9_r2,limit=1] ^ ^ ^4.0
  5. /execute as @e[tag=c9_r2,limit=1] at @s run tp @s ~ ~ ~ ~-25 ~
  6. /execute store result score #y c9 run data get entity @e[tag=c9_probe,limit=1] Pos[0] 1000
  7. /execute store result score #z c9 run data get entity @e[tag=c9_r2,limit=1] Pos[2] 750
  8. /scoreboard players operation #y c9 += #base c9
  9. /scoreboard players operation #y c9 -= #z c9
  10. /execute store result entity @e[tag=c9_r2,limit=1] Pos[1] double 0.001 run scoreboard players get #y c9
  11. /execute at @e[tag=c9_r2,limit=1] positioned ^ ^ ^2.6 run particle dust_color_transition{from_color:[0.0,0.95,1.0],to_color:[0.65,0.15,1.0],scale:2.6} ~ ~ ~ 0.15 0.15 0.15 0 8 force
  12. /execute at @e[tag=c9_r2,limit=1] positioned ^ ^ ^-2.6 run particle dust_color_transition{from_color:[1.0,0.85,0.1],to_color:[1.0,0.15,0.55],scale:2.6} ~ ~ ~ 0.15 0.15 0.15 0 8 force
  13. /execute at @e[tag=c9_r2,limit=1] positioned ^ ^ ^2.6 run particle end_rod ~ ~ ~ 0.06 0.06 0.06 0.008 2 force
  14. /execute at @e[tag=c9_r2,limit=1] positioned ^ ^ ^-2.6 run particle end_rod ~ ~ ~ 0.06 0.06 0.06 0.008 2 force

How it works

Frames from the test run

Harmonic Particle Spirograph - frame 1Harmonic Particle Spirograph - frame 2Harmonic Particle Spirograph - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: At night on a grassy Minecraft shore, swirling cyan-to-violet and gold-to-magenta dust particles with white end_rod sparkles trace tilted curved loops around and below a floating nether star.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Clear an open area with at least 15 blocks of free space above and around your chosen centre point.
  2. Stand at the centre block where you want the spirograph to float and run the 10 setup commands once in chat (or from impulse command blocks).
  3. Place 14 repeating command blocks in a row, all set to Always Active and Unconditional.
  4. Paste each of the 14 loop commands into its own repeating command block in order.
  5. Wait about 3 seconds for the two counter-rotating arms to trace the complete 7-petal 3D mandala around the nether star.
  6. Run the two remove commands whenever you want to clear the entities and scoreboard.

Use it with real players

To have the spirograph float around a real player instead of a fixed spot, replace the fixed #base setup math with a loop step that teleports c9_r1 and c9_core to @p's coordinates (~ ~2.5 ~) while keeping their own yaw, then compute #base dynamically from @p's Pos.

Remove it again 2 commands

  1. /kill @e[tag=c9_spiro]
  2. /scoreboard objectives remove c9

FAQ

Why does the mandala have 7 petals?

The inner arm rotates at <code>+10</code> degrees per tick and the outer arm counter-rotates at <code>-25</code> degrees per tick. Dividing their relative angular speed (<code>35</code>) by their greatest common divisor (<code>5</code>) gives 7 petals.

Can I change the colours or size of the spirograph?

Yes. Adjust the RGB arrays in the two <code>dust_color_transition</code> commands to change the ribbon colours, or adjust the <code>^ ^ ^4.0</code> and <code>^ ^ ^2.6</code> offsets in the loop commands to scale the mandala.

Commands used

/data/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides