LoneForgeMotion
Library
Interface  /  Loading

Skeleton Shimmer

A page of gray placeholder blocks shimmers, fills in with color, then goes back to loading.

Source kit 7 KB
Loop
6 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 6 second motion loop of a page loading.

Use a light background. A white rounded window holds a page made only of placeholder blocks: a sidebar with a round avatar and six short bars, a title bar, one wide hero block, and six cards that each have a picture block and two bars. Use three columns of cards when the frame is wide and two when it is tall. A soft diagonal band of light sweeps across every block from left to right twice per loop, entering and leaving off the edge of the window. Partway through, the page loads: the hero and then each card in turn fade from a gray block into a picture, a gradient between the two accent colors with a pale sun and two hills, and the bars under them darken. Near the end they fade back to gray blocks in the same order so the loop can start again. Three small dots pulse in the top right corner the whole time.

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

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