LoneForgeMotion
Library
Interface  /  Minimal

Volume Wave

A speaker pill lights three curved sound arcs in sequence, then sweeps a mute slash across and clears.

Source kit 7 KB
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 minimal volume control button centered on a clean background.

Inside a soft rounded pill container sits a simple speaker cone facing three curved sound arcs. Starting quiet, the three arcs light up one after another from inner to outer, shifting from the first accent color toward the second while the speaker gently pulses. After holding at full volume, a clean diagonal mute slash sweeps across the icon in the second accent color, then retracts so the button returns smoothly 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

Download

The 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.