mathbeastsedit the math, watch it live

GitHub โ†—
๐Ÿ’ก Why do web designers use looping GIFs as hero images? See this beast on a real page โ†’
โ–ถ
1ร—
30
motion โ‰ˆ ร—1.0 natural  ยท  on-screen speed = dt ร— speed ร— fps
โ–ถ Edit the math โ€” every number is a parameter
Ctrl+Enter runs  ยท  Space pauses  ยท  1โ€“9 beasts
Tweak the t += step (dt), particle count (2e4), trig coefficients, alpha (stroke(w, 96)) โ€” break it freely, Restart brings the beast back. Render a looping GIF: python tools/render_canvas_gif.py --html scenes/<beast>.html --fps 12