Build a glowing 3D Mobius strip suspended in midair with a seamless half-twist and twin bright white light pulses racing endlessly along both sides.
Math CurvesSpaceTechnologyMysticBluePurpleWhiteDecorationServer LobbyLearningRotation math21+ commands
This command creation suspends a three-dimensional particle Mobius strip above your world. Each cross-section twists gradually until the ribbon completes a full 180-degree half-twist around the loop, joining its two edges into one continuous surface.
Two bright white light pulses race endlessly around the tilted track on opposite sides of the ribbon, following the twist seamlessly while blue and violet dust particles outline the curved band.
/scoreboard objectives add c9_t dummy/summon marker ~ ~7.5 ~ {Tags:["c9_sys","c9_hub"]}/summon marker ~ ~7.5 ~ {Tags:["c9_sys","c9_half"],Rotation:[-180.0f,-90.0f]}/execute store result score #hy c9_t run data get entity @e[tag=c9_hub,limit=1] Pos[1] 1000/execute store result score #hz c9_t run data get entity @e[tag=c9_hub,limit=1] Pos[2] 650/scoreboard players operation #yoff c9_t = #hy c9_t/scoreboard players operation #yoff c9_t -= #hz c9_t/scoreboard players set #n c9_t 0/scoreboard players set #tick c9_t 0/execute if score #n c9_t matches ..35 at @e[tag=c9_half,limit=1] rotated ~ 0 positioned ^ ^ ^6.5 run summon marker ~ ~ ~ {Tags:["c9_node"]}/execute if score #n c9_t matches ..35 as @e[tag=c9_node] unless score @s c9_t matches 0.. at @s rotated as @e[tag=c9_half,limit=1] run tp @s ~ ~ ~ ~ ~/execute if score #n c9_t matches ..35 as @e[tag=c9_node] unless score @s c9_t matches 0.. store result score #dz c9_t run data get entity @s Pos[2] 650/execute if score #n c9_t matches ..35 run scoreboard players operation #dz c9_t += #yoff c9_t/execute if score #n c9_t matches ..35 as @e[tag=c9_node] unless score @s c9_t matches 0.. store result entity @s Pos[1] double 0.001 run scoreboard players get #dz c9_t/execute if score #n c9_t matches ..35 as @e[tag=c9_node] unless score @s c9_t matches 0.. run scoreboard players operation @s c9_t = #n c9_t/execute if score #n c9_t matches ..35 as @e[tag=c9_half,limit=1] at @s run tp @s ~ ~ ~ ~10 ~5/execute if score #n c9_t matches ..35 run scoreboard players add #n c9_t 1/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 36.. run scoreboard players set #tick c9_t 0/execute as @e[tag=c9_node] at @s run particle dust{color:[0.15,0.45,1.0],scale:1.6} ^ ^ ^0.95 0.35 0.35 0.35 0 3/execute as @e[tag=c9_node] at @s run particle dust{color:[0.45,0.2,1.0],scale:1.6} ^ ^ ^-0.95 0.35 0.35 0.35 0 3/execute as @e[tag=c9_node] if score @s c9_t = #tick c9_t at @s run particle dust{color:[1.0,1.0,1.0],scale:2.3} ^ ^ ^1.7 0.06 0.06 0.06 0 6/execute as @e[tag=c9_node] if score @s c9_t = #tick c9_t at @s run particle dust{color:[1.0,1.0,1.0],scale:2.3} ^ ^ ^-1.7 0.06 0.06 0.06 0 6setup #3 Summons the <code>c9_half</code> guide marker starting at yaw <code>-180</code> and pitch <code>-90</code> so that sweeping 360 degrees in yaw sweeps pitch cleanly from <code>-90</code> to <code>+90</code> for a 180-degree twist.setup #6 Stores a combined height offset <code>#yoff</code> from the center marker's Y and Z coordinates so the ring tilts smoothly into 3D space regardless of where you build it.loop #1 During the first 36 ticks, summons one <code>c9_node</code> marker per step at radius <code>6.5</code> around the center and rotates it to match <code>c9_half</code>.loop #5 Applies the tilted height value to each new node's <code>Pos[1]</code> coordinate, angling the whole Mobius ring above the ground.loop #7 Steps <code>c9_half</code> forward by <code>10</code> degrees in yaw and <code>5</code> degrees in pitch per node so the strip's cross-section turns half as fast as its orbit.loop #11 Renders the blue and violet ribbon body from every <code>c9_node</code> using local coordinates <code>^ ^ ^0.95</code> and <code>^ ^ ^-0.95</code> aligned to each node's twisted angle.loop #13 Compares each node's <code>c9_t</code> index to <code>#tick</code> and spawns bright white <code>dust</code> pulses along both outer rims at <code>^ ^ ^1.7</code> and <code>^ ^ ^-1.7</code>.


Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: A floating three-dimensional loop of blue and purple particles twists like a Mobius strip above a grassy Minecraft area, with subtle white particles scattered along its edges.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
/kill @e[tag=c9_node]/kill @e[tag=c9_sys]/scoreboard objectives remove c9_tThe loop places one of the 36 c9_node markers per tick over the first 36 ticks (1.8 seconds). Once #n reaches 36, no new entities are created and the particle loop runs at a fixed entity count.
Yes. To change the ribbon colors, edit the color:[r,g,b] values in loop commands 11 and 12. To reverse the pulse direction, change scoreboard players add #tick c9_t 1 to subtract 1 and wrap negative values back to 35.
▶Spinning DNA Torus Knot SupercoilMath CurvesExpert23 cmds
▶Oscillating String Theory Calabi-Yau ManifoldMath CurvesExpert23 cmds
▶Self-Inverting Klein Bottle Manifold FlowMath CurvesExpert21 cmds
▶Flowing Klein Bottle Surface MeshMath CurvesExpert24 cmds
▶Twisting Double-Pendulum Chaos Light PaintingMath CurvesHard24 cmds
▶Chaotic Lorenz Attractor Butterfly PlotterMath CurvesHard25 cmds