Library
Interface / Lines
Fingerprint Scan
A scan beam sweeps down a fingerprint, lights its rings, then the corner brackets lock on.
- 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 fingerprint being scanned. On a dark ground with a faint dotted grid fading out from the center, a fingerprint made of ten nested wavy rings with small gaps, the outer ones open at the bottom like arches, sits in the middle, dim at first, with four corner brackets around it. A bright scan beam with a soft glow sweeps from the top to the bottom, lighting the rings above it in a gradient from the first accent to the second. When it reaches the bottom the beam fades, the whole print flashes, a ripple ring spreads from the center, and the corner brackets turn to the accent color and tighten briefly. The lit rings shimmer gently, then fade back to dim and the brackets relax so the loop can repeat. 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 dim rings, grid and brackets 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.md1 KB
- START-HERE.md1 KB
- animation.js6 KB
- core.js2 KB
- index.html1 KB
- render.py2 KB
Free to use and change for your own work. See the license.