Library
Interface / Controls
Compass Lock
A beveled needle inside a frosted glass compass swings with magnetic spring physics, locks onto North, and gleams.
- 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 jewel-like frosted glass compass centered over a soft ambient dual-glow background. A thick glass bezel frames a recessed dial marked with 48 precision ticks and a glowing North beacon at the top. A sculpted two-tone 3D beveled diamond needle swings away from North, then sweeps back around with magnetic spring physics, overshooting and settling cleanly onto North. As it locks in, the North jewel brightens, an outer confirmation ring expands from the bezel, and a glossy diagonal crystal gleam sweeps across the dial face. 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.