Library
Interface / Phone
Notification Bell
A bell rings three times, sending out sound arcs while a badge pops in and bumps.
- Loop
- 6 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 6 second motion loop of a notification bell ringing. A bell made of a dome, a flared rim and a clapper, filled with a vertical gradient from a pale tint to the first accent, hangs from a small cap in the middle of the frame. Three times per loop it swings from its top pivot and rings: each swing starts at roughly twenty five to thirty degrees and dies away within about a second, while pairs of curved sound arcs on both sides pulse in time and a large faint ring spreads out behind it. At the first ring a round badge in the second accent springs in at the bell's upper right with a ripple ring around it. At the second and third rings the badge bumps larger once and sends out another ripple. Near the end of the loop the badge shrinks away again. 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 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.md1 KB
- START-HERE.md1 KB
- animation.js5 KB
- core.js2 KB
- index.html1 KB
- render.py2 KB
Free to use and change for your own work. See the license.