Library
3D / Shapes
Prism Cube
A floating frosted glass 3D cube with a pulsing inner core turns smoothly above a glowing floor caustic.
- Loop
- 8 s, seamless
- Video
- 1080p, 30 fps, no sound
- Built with
- HTML canvas, one file
- Made with
- Gemini 4 Neon, xhigh effort
The prompt
The prompt this loop was built from. Paste it into your agent to make your own version from the idea.
Attached a picture are my favorite 10 so far. View all the animations on the website, https://motion.loneforge.ai/, can you take a look at the animations I have an create me 10 more that people would really enjoy because they look high quality and satisfying. Build spec: Make a seamless 8 second loop of a floating frosted glass 3D prism cube hovering over a glowing floor caustic on a rich ambient background. The cube turns one smooth full revolution in true perspective with back-to-front sorted translucent gradient faces, glossy front highlights, double-stroked luminous edges, and bright corner specular beads. Inside its center floats a glowing wireframe crystal and pulsing energy core orb. Soft dust motes orbit gently around the cube while the colored caustic pool below breathes in sync with its vertical hover. Write it as one self-contained JavaScript file drawing on an HTML canvas 2D context via render(ctx, W, H, ph, colors), where ph runs from 0 to 1. No text, logos, images or libraries. Scale from the shorter side of the canvas so it works wide, vertical and square, and adapt to light or dark backgrounds.
The source kit
DownloadThe same code that is drawing the loop on this page. Unzip it, point your agent at START-HERE.md, and it can rebuild the loop and change it.
- LICENSE.txt1 KB
- PROMPT.md1 KB
- START-HERE.md1 KB
- animation.js7 KB
- core.js2 KB
- index.html1 KB
- render.py2 KB
Free to use and change for your own work. See the license.