LoneForgeMotion
Library
Interface  /  Charts

Chart Rise

A dashboard breathes: bars rise and fall in a wave, a line flows over them and a ring turns.

Source kit 8 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 live dashboard.

Four dark rounded panels fill the frame. When the frame is wide, the big panel is on the left and the other three sit on the right; when it is tall, the big panel is on top. The big panel has two placeholder bars for a title, a small legend, faint horizontal grid lines and twelve bars with rounded tops in the first accent color, fading darker toward the bottom. The bars rise and fall in a wave that travels across the chart once per loop. A smooth line in the second accent color flows over the bars with a dot at each point and a soft glow. The second panel holds a ring chart: a thick arc in the first accent and a shorter arc in the second chase each other around once per loop while their lengths breathe. The third panel is a small sparkline that ripples, with a glowing white dot at its end. The fourth is a row of six small pills that swell and brighten in a wave. 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.md2 KB
  • START-HERE.md1 KB
  • animation.js6 KB
  • core.js2 KB
  • index.html1 KB
  • render.py2 KB

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