LoneForgeMotion
Library
Interface  /  Cursor

Cursor Click

A pointer glides around a grid of tiles and clicks four of them, each lighting up with a ripple.

Source kit 7 KB
Loop
8 s, seamless
Video
1080p, 30 fps, no sound
Built with
HTML canvas, one file
Made with
Claude Fable 5.2, medium 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 pointer clicking tiles.

A dark rounded window with a thin top bar holds a grid of six tiles, three across when the frame is wide and two across when it is tall. Each tile has a round icon, two placeholder bars and a small pill. A white arrow pointer with a dark outline and a drop shadow visits four of the tiles in turn and comes back to where it started. It rests, presses down, then glides to the next tile along a gentle arc. On each click the pointer and the tile dip slightly, a white ring ripples out from the click and is clipped to the tile, and the tile fills with a gradient from the first accent color to the second with a glow around it. A lit tile stays bright for a while and then fades back to dark, so one or two tiles are lit at any moment. Add a soft background glow and a few slow drifting dots.

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. Use rounded bars and dots wherever words or pictures would go. 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.

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

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