Library
Interface / Minimal
Refresh Spin
A circular sync button spins two curved arrows through two crisp full turns and pulses when done.
- Loop
- 6 s, seamless
- Video
- 1080p, 30 fps, no sound
- Built with
- HTML canvas, one file
- Made with
- Gemini 4 Neon, medium effort
The prompt
The prompt this loop was built from. Paste it into your agent to make your own version from the idea.
Can you create me 10 generic animations that are not already on the website that look high quality, keep these simple and minimal like buttons animations and stuff. Build spec: Make a seamless 6 second loop of one circular refresh and sync button centered on a clean background. Inside a clean circular disc with a soft shadow sit two opposing curved arrows forming a loop. After a brief rest, the button presses in and the arrows accelerate smoothly through two exact full turns while a soft colored track and subtle glow rise underneath. As the spin eases to a stop, a crisp confirmation ring pulses outward from the button edge before everything settles back to idle. Keep it minimal: one component in the center of a plain background with a soft central light. Write it as one JavaScript file using the HTML canvas 2D context with 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 neutral tones 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.js4 KB
- core.js2 KB
- index.html1 KB
- render.py2 KB
Free to use and change for your own work. See the license.