Four corner pendulums swing in linked harmony to drag a central laser stylus across a dark glass floor, burning glowing Lissajous danger trails.
Arenas & Mini-gamesTechnologyDarkCyanWhitePinkMini-gameBoss FightLearningBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
Four giant pendulum towers at the corners of a dark obsidian and glass arena swing in two different orbital rhythms. Their linked tension cables pull a suspended central laser stylus across the battlefloor, tracing a complex, overlapping Lissajous figure in real time.
As the stylus sweeps the arena, it fires a vertical laser column that scorches glowing magenta and cyan energy nodes into the glass. These lingering light-trails slice the stage into shifting geometric safe zones that damage anyone who steps across the lines.
/scoreboard objectives add c9_t dummy/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 minecraft:obsidian/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:tinted_glass/fill ~-11 ~ ~-11 ~-11 ~12 ~-11 minecraft:polished_deepslate_wall/fill ~11 ~ ~-11 ~11 ~12 ~-11 minecraft:polished_deepslate_wall/fill ~-11 ~ ~11 ~-11 ~12 ~11 minecraft:polished_deepslate_wall/fill ~11 ~ ~11 ~11 ~12 ~11 minecraft:polished_deepslate_wall/summon minecraft:marker ~ ~ ~ {Tags:["c9_A"],Rotation:[0f,0f]}/summon minecraft:marker ~ ~ ~ {Tags:["c9_B"],Rotation:[45f,0f]}/summon minecraft:block_display ~ ~4 ~ {Tags:["c9_stylus"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,2.0f,0.8f],translation:[-0.4f,0f,-0.4f]}}/scoreboard players add #tick c9_t 1/execute as @e[tag=c9_A] at @s run tp @s ~ ~ ~ ~4.5 ~/execute as @e[tag=c9_B] at @s run tp @s ~ ~ ~ ~-7.2 ~/execute at @e[tag=c9_A,limit=1] positioned ^ ^ ^4.8 rotated as @e[tag=c9_B,limit=1] positioned ^ ^ ^4.2 run tp @e[tag=c9_stylus] ~ ~4 ~ ~8 ~/execute at @e[tag=c9_A,limit=1] run particle minecraft:dust{color:[0.0,1.0,0.8],scale:1.6} ^-11 ^7 ^4.8 0.1 0.1 0.1 0 3 force/execute at @e[tag=c9_A,limit=1] run particle minecraft:dust{color:[0.0,1.0,0.8],scale:1.6} ^11 ^7 ^-4.8 0.1 0.1 0.1 0 3 force/execute at @e[tag=c9_B,limit=1] run particle minecraft:dust{color:[1.0,0.4,0.0],scale:1.6} ^-4.2 ^7 ^-11 0.1 0.1 0.1 0 3 force/execute at @e[tag=c9_B,limit=1] run particle minecraft:dust{color:[1.0,0.4,0.0],scale:1.6} ^4.2 ^7 ^11 0.1 0.1 0.1 0 3 force/execute at @e[tag=c9_stylus] run particle minecraft:end_rod ~ ~-2 ~ 0.05 1.2 0.05 0.01 3 force/execute at @e[tag=c9_stylus] run particle minecraft:dust_color_transition{from_color:[1.0,0.0,0.8],to_color:[0.0,0.9,1.0],scale:1.8} ~ ~-3.8 ~ 0.15 0.05 0.15 0 5 force/execute if score #tick c9_t matches 2.. at @e[tag=c9_stylus] run summon minecraft:block_display ~ ~0.02 ~-4 {Tags:["c9_trail"],Glowing:1b,glow_color_override:16711935,block_state:{Name:"minecraft:magenta_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.35f,0.12f,0.35f],translation:[-0.175f,-4f,-0.175f]}}/execute if score #tick c9_t matches 2.. run scoreboard players set #tick c9_t 0/scoreboard players add @e[tag=c9_trail] c9_t 1/kill @e[tag=c9_trail,scores={c9_t=180..}]loop #4 Chains the local coordinates of two markers spinning at different speeds (+4.5 and -7.2 degrees per tick). Adding their two circular vectors together moves the central beacon stylus along a true mathematical Lissajous curve.loop #5 Projects the swing of the first oscillator onto the corner deepslate towers at a radius of 11 blocks, creating the visual pendulum weights that drive the harmonograph.loop #11 Every 2 ticks, summons a glowing flat magenta glass block_display right on the arena floor underneath the laser beam to form the persistent geometric boundary lines.loop #14 Deletes trail nodes once they reach 180 ticks (9 seconds) old, keeping the entity count capped at 90 trail segments while old safe zones open up and new ones close.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A glowing cyan block moves across a dark obsidian and glass platform with corner pillars, leaving a trail of white particles and glowing magenta nodes in a Lissajous-like star pattern, though the swinging pendulums and tension cables are not visible.
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 painted laser lines hazardous to players during a minigame or boss fight, add one more repeating command block running /execute at @e[tag=c9_trail] run damage @a[distance=..0.8] 2 minecraft:magic so stepping onto any active glowing line deals continuous magic damage.
/kill @e[tag=c9_A]/kill @e[tag=c9_B]/kill @e[tag=c9_stylus]/kill @e[tag=c9_trail]/scoreboard objectives remove c9_t/fill ~-12 ~ ~-12 ~12 ~13 ~12 minecraft:air/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 minecraft:grass_blockEdit the rotation speeds in loop commands 2 and 3 (currently ~4.5 and ~-7.2). Different ratios like 3 and -6, or 5 and -7.5, will draw completely different symmetrical Lissajous knots.
No. A new trail node spawns every 2 ticks and is removed after 180 ticks, so there are never more than 90 trail display entities in the world at once.
▶Laser Grid Dodgeball Vault ArenaArenas & Mini-gamesMedium24 cmds
▶Automated Ceiling Spike TrapArenas & Mini-gamesEasy24 cmds
▶Cinematic Action Camera RigArenas & Mini-gamesHard24 cmds
▶Tornado Vortex Battle Royale ZoneArenas & Mini-gamesExpert19 cmds
▶Gilded Zoetrope Spinning Animation DisplayArenas & Mini-gamesExpert23 cmds
▶Gyroscopic Floating Ring Obstacle ArenaArenas & Mini-gamesExpert23 cmds