A 4D hypercube of blinding white display beams turns inside-out in mid-air, firing chromatic firework volleys from sixteen shifting vertices.
Light Beams & LasersSpaceTechnologyCelebrationWhiteCyanRainbowCinematicServer LobbyDecorationBlock displaysItem displaysFireworksSmooth animation (interpolation)Rotation math13-20 commands
Watch a fourth-dimensional geometric construct unfold right above your world. This command setup generates a floating tesseract made of glowing white and cyan beam structures that smoothly expands and collapses through itself while rotating along two axes at once.
Each time the inner and outer cubes trade places during their 4D inversion cycle, the sixteen shifting vertices discharge radiant dust streams and launch synchronized chromatic firework volleys into the night sky.
/scoreboard objectives add c9_t dummy/summon marker ~ ~10 ~ {Tags:["c9_e","c9_core"]}/execute positioned ~ ~10 ~ run summon item_display ~ ~ ~ {Tags:["c9_e","c9_cube","c9_outer"],Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,item:{id:"minecraft:white_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[5.5f,5.5f,5.5f]}}/execute positioned ~ ~10 ~ run summon item_display ~ ~ ~ {Tags:["c9_e","c9_cube","c9_inner"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,item:{id:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}/execute positioned ~ ~10 ~ run summon block_display ~ ~ ~ {Tags:["c9_e","c9_beam","c9_b1"],Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0.353f,0.353f,0.146f,0.853f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,-4.5f,-0.15f],scale:[0.3f,9f,0.3f]}}/execute positioned ~ ~10 ~ run summon block_display ~ ~ ~ {Tags:["c9_e","c9_beam","c9_b2"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,block_state:{Name:"minecraft:end_rod"},transformation:{left_rotation:[-0.353f,0.353f,-0.146f,0.853f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,-4.5f,-0.15f],scale:[0.3f,9f,0.3f]}}/execute positioned ~ ~10 ~ run summon block_display ~ ~ ~ {Tags:["c9_e","c9_beam","c9_b3"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0.353f,-0.353f,-0.146f,0.853f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,-4.5f,-0.15f],scale:[0.3f,9f,0.3f]}}/scoreboard players add @e[tag=c9_core] c9_t 1/execute as @e[tag=c9_core,scores={c9_t=80..}] run scoreboard players set @s c9_t 0/execute as @e[tag=c9_outer] at @s run tp @s ~ ~ ~ ~3 ~2/execute as @e[tag=c9_inner] at @s run tp @s ~ ~ ~ ~-4 ~-3/execute as @e[tag=c9_beam] at @s run tp @s ~ ~ ~ ~3.5 ~2.5/execute if entity @e[tag=c9_core,scores={c9_t=1}] as @e[tag=c9_outer] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[2.2f,2.2f,2.2f]}}/execute if entity @e[tag=c9_core,scores={c9_t=1}] as @e[tag=c9_inner] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[6.0f,6.0f,6.0f]}}/execute if entity @e[tag=c9_core,scores={c9_t=41}] as @e[tag=c9_outer] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[6.0f,6.0f,6.0f]}}/execute if entity @e[tag=c9_core,scores={c9_t=41}] as @e[tag=c9_inner] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[2.2f,2.2f,2.2f]}}/execute at @e[tag=c9_cube] rotated ~ 35 run particle dust{color:[0.2,1.0,1.0],scale:1.6} ^2.5 ^2.5 ^2.5 0.1 0.1 0.1 0 3 force/execute at @e[tag=c9_cube] rotated ~ -35 run particle end_rod ^-2.5 ^-2.5 ^2.5 0.05 0.05 0.05 0.05 2 force/execute if entity @e[tag=c9_core,scores={c9_t=20}] at @e[tag=c9_outer] run summon firework_rocket ^2.8 ^2.8 ^2.8 {LifeTime:12,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,colors:[I;65535,16777215],fade_colors:[I;16711935]}]}}}}/execute if entity @e[tag=c9_core,scores={c9_t=60}] at @e[tag=c9_inner] run summon firework_rocket ^-2.8 ^2.8 ^-2.8 {LifeTime:12,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"burst",has_trail:1b,colors:[I;16711935,16761035],fade_colors:[I;65535]}]}}}}setup #3 Summons the outer 3D projection of the tesseract using a glowing glass <code>item_display</code> with a 25-tick interpolation window and full sky brightness.setup #5 Creates the diagonal laser struts linking the inner and outer cubes by tilting a stretched <code>block_display</code> with quaternion <code>left_rotation</code> values.loop #6 Triggers the 4D inversion on tick 1 by shrinking the outer cube down to 2.2 blocks while Command 6 expands the inner cube to 6.0 blocks over 35 ticks.loop #12 Fires a chromatic firework rocket from the shifting local corner coordinates (<code>^2.8 ^2.8 ^2.8</code>) of the rotating hypercube at the exact moment the inner and outer walls cross.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A large glowing glass cube with laser arms hovers and shifts above the ground.
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 tesseract follow a player like a floating arcane halo, replace at @s in the first three rotation loop commands with at @p positioned ~ ~6 ~ so the hypercube constantly centers itself above the nearest player.
/kill @e[tag=c9_e]/scoreboard objectives remove c9_tThe display entities use teleport_duration:2 to smooth out rotation steps. If you rotate them by more than 45 degrees per tick, decrease teleport_duration to 1.
No. The hypercube uses only 6 permanent display entities, and firework rockets detonate after 12 ticks (0.6 seconds), keeping total entity count well under 15.
▶Kinetic Rube Goldberg Light-Orb Marble RunLight Beams & LasersExpert24 cmds
▶Laser Loom Weaving Tapestry Of LightLight Beams & LasersExpert24 cmds
▶Prismatic Crookes Radiometer Solar Spin MillLight Beams & LasersMedium24 cmds
▶Quantum Particle Collider Ring DetonationLight Beams & LasersHard25 cmds
▶Spirograph Laser Pendulum RigLight Beams & LasersExpert21 cmds
▶Bouncing Polyhedron Laser CageLight Beams & LasersExpert23 cmds