Library
Loading / Controls
Progress Sheen
A glossy bar fills in three bursts with a bright dot at its edge, sheens when complete, then drains.
- Loop
- 8 s, seamless
- Video
- 1080p, 30 fps, no sound
- Built with
- HTML canvas, one file
- Made with
- Claude Sonnet 5.5, max effort
The prompt
The prompt this loop was built from. Paste it into your agent to make your own version from the idea.
Make a seamless 8 second motion loop of a progress bar filling up. A long rounded bar sits in the middle of a dark ground, with an inset track and a soft glow behind it. A fill grows from the left in three bursts with short stalls between them, and reaches the end about two thirds of the way through the loop. The fill is a gradient from the first accent to the second across the full length of the bar, with a glossy highlight along its top half, moving diagonal stripes inside it and a bright glint that sweeps across it four times per loop. A glowing white dot rides the leading edge and throws small sparks backward while the bar is filling, and a soft underglow in the fill color spreads beneath the bar. When it completes, the bar swells slightly, an outline ring spreads out from it and one fast sheen crosses it. It holds full for a moment, then the fill retracts to the left and the bar rests empty before the loop repeats. Write it as one JavaScript file that draws on an HTML canvas with the 2D context. One function draws any moment: render(ctx, W, H, ph, colors), where ph is the loop phase from 0 to 1. Write every motion in whole turns of ph so the last frame flows into the first and the loop has no seam. No text, no logos, no images, no libraries. Scale every size from the shorter side of the canvas so it works wide, vertical and square. Take three colors as inputs: a background and two accents. Take the neutral colors for the track and shadows from the background so it also works on a dark or a light background.
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.md2 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.