Build a rotating kinetic optical illusion in Minecraft using counter-rotating iron-bar display grids that create rippling moiré interference patterns.
Machines & MechanismsTechnologyIndustrialCyanPinkWhiteDecorationLearningServer LobbyBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
This command creation builds a giant suspended kinetic sculpture made from two overlapping grids of stretched iron bars and glowing frame spokes. As the front cyan grid and the back magenta grid slowly rotate in opposite directions, their overlapping lines create shifting moiré interference patterns that appear to ripple and pulse in midair.
Everything runs automatically using block display entities, transformation matrices, and smooth teleport rotation without any mods or resource packs.
/scoreboard objectives add c9_timer dummy/scoreboard players set #idx c9_timer 0/fill ~-2 ~ ~-2 ~2 ~ ~2 polished_blackstone_slab/setblock ~ ~ ~ sea_lantern/summon block_display ~ ~11 ~ {Tags:["c9_all","c9_core"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~11 ~ {Tags:["c9_all","c9_spoke_a"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-7.5f,-0.1f,-0.22f],scale:[15.0f,0.2f,0.12f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~11 ~ {Tags:["c9_all","c9_spoke_a"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.1f,-7.5f,-0.22f],scale:[0.2f,15.0f,0.12f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~11 ~ {Tags:["c9_all","c9_spoke_b"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:ochre_froglight"},transformation:{translation:[-7.5f,-0.1f,0.10f],scale:[15.0f,0.2f,0.12f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~11 ~ {Tags:["c9_all","c9_spoke_b"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:ochre_froglight"},transformation:{translation:[-0.1f,-7.5f,0.10f],scale:[0.2f,15.0f,0.12f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #idx c9_timer matches ..16 run summon block_display ~ ~11 ~ {Tags:["c9_all","c9_grid_a","c9_init_a"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:iron_bars",Properties:{east:"true",west:"true"}},transformation:{translation:[-6.5f,-0.45f,-0.25f],scale:[13.0f,0.9f,0.15f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #idx c9_timer matches ..16 run summon block_display ~ ~11 ~ {Tags:["c9_all","c9_grid_b","c9_init_b"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:iron_bars",Properties:{east:"true",west:"true"}},transformation:{translation:[-6.5f,-0.45f,0.10f],scale:[13.0f,0.9f,0.15f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[type=block_display,tag=c9_init_a] store result entity @s Rotation[0] float 10.588 run scoreboard players get #idx c9_timer/execute as @e[type=block_display,tag=c9_init_b] store result entity @s Rotation[0] float 11.25 run scoreboard players get #idx c9_timer/tag @e[type=block_display,tag=c9_init_a] remove c9_init_a/tag @e[type=block_display,tag=c9_init_b] remove c9_init_b/execute if score #idx c9_timer matches ..16 run scoreboard players add #idx c9_timer 1/execute as @e[type=block_display,tag=c9_grid_a] at @s run tp @s ~ ~ ~ ~1.1 ~/execute as @e[type=block_display,tag=c9_grid_b] at @s run tp @s ~ ~ ~ ~-0.9 ~/execute as @e[type=block_display,tag=c9_spoke_a] at @s run tp @s ~ ~ ~ ~1.1 ~/execute as @e[type=block_display,tag=c9_spoke_b] at @s run tp @s ~ ~ ~ ~-0.9 ~/particle end_rod ~ ~11 ~ 3.5 3.5 0.4 0.01 2 force/particle dust{color:[0.1,0.95,1.0],scale:1.4} ~ ~11 ~ 4.2 4.2 0.3 0 4 force/particle dust{color:[1.0,0.2,0.85],scale:1.4} ~ ~11 ~ 4.2 4.2 0.3 0 4 forcesetup #6 Summons the front cyan frame spokes centered at ~ ~11 ~ using centered translation offsets so that rotating the entity spins the spoke around its midpoint.loop #1 During the first 17 ticks, summons 17 elongated iron bar display entities for the front wheel (c9_grid_a), stretched 13 blocks wide with east and west bar connections enabled.loop #3 Spreads the 17 front grid bars evenly around a 180-degree semicircle (10.588 degrees per index) by storing the current counter multiplied by the angle step into Rotation[0].loop #4 Spreads the 17 back grid bars at a slightly different angular spacing (11.25 degrees per index) so the two grids overlap at varied angles and produce stronger moiré wave patterns.loop #8 Rotates all front grid bars clockwise by 1.1 degrees per tick while command 8 rotates the back grid bars counter-clockwise by 0.9 degrees per tick, creating the optical interference effect.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A large rotating circular sculpture with glowing cyan and magenta outlines and iron bars floats above a sea lantern pedestal at night, emitting colorful particles.
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_all]/fill ~-2 ~ ~-2 ~2 ~ ~2 air/scoreboard objectives remove c9_timerWait—WAIT! Changing Rotation[0] changes YAW (rotation around the vertical Y-axis), which spins the bars horizontally like a helicopter rotor, NOT a vertical wheel facing the camera!
Wait—let me fix yaw vs pitch/roll before finalizing!
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Rube Goldberg Kinetic Marble RunMachines & MechanismsExpert24 cmds