LoneForgeMotion
Library
Interface  /  Minimal

Bookmark Drop

A ribbon bookmark presses in, fills with a vibrant gradient and sparks on a hop, then empties.

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 circular bookmark button centered on a clean background.

Inside a soft circular button sits a crisp ribbon bookmark outline. After a short pause, the button presses down, the ribbon hops upward as a gradient from the first accent color to the second fills it from top to bottom, and a small ring of eight sparks bursts outward around it. After resting in the saved state with a soft colored glow, the fill drains away smoothly back to the outline.

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.js3 KB
  • core.js2 KB
  • index.html1 KB
  • render.py2 KB

Free to use and change for your own work. See the license.