176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
docs: keep three Watch it help lines on one line in the 3D & Advanced sheet
matinc076e87824c9
diff --git a/docs/superpowers/plans/2026-09-29-3d-content.md b/docs/superpowers/plans/2026-09-29-3d-content.mdindex 156d30ca..02476a21 100644--- a/docs/superpowers/plans/2026-09-29-3d-content.md+++ b/docs/superpowers/plans/2026-09-29-3d-content.md@@ -354,7 +354,7 @@ None: leave out the `details.hb-options` block.- **Kind:** loop. The dots drift forever.- **Description:** Dots drift, link up when close, and dodge your pointer. Best for tech sites.-- **Watch it help line:** It moves by itself, and the dots move away from your pointer or finger. Pause it to look closely, or turn on slow motion to see each part of the movement.+- **Watch it help line:** It moves by itself, and the dots move away from your pointer or finger. Pause it to look closely, or turn on slow motion.- **Player bar:** Pause (page) · Slow motion (page)- **Sequence:** the canvas loop as in the preamble (`loop(t)`, 16ms gate). Each drawn frame runs `update()` on every particle (the pointer's push or pull within 120px, the speed cap, the move, the bounce), then `draw()`.- **The links in six batches:** `draw()` puts every link into one of six paths by its opacity step and strokes each path once, in place of one `stroke()` per link. For a pair closer than Link distance, `k = Math.min(5, Math.floor((1 - d2/d2max) * 6))` picks the path, and path k is stroked at opacity `(k + 0.5) / 6 * 0.4` (today's opacity, `(1 - d2/d2max) * 0.4`, in six steps). `ctx.lineWidth=.5` stays, set once before the six strokes. The dots are drawn as today.@@ -453,7 +453,7 @@ None: leave out the `details.hb-options` block.- **Kind:** loop. The blobs drift and merge forever.- **Description:** Blobs drift and melt into each other like liquid. Best for hero backgrounds.-- **Watch it help line:** It moves by itself, and one blob follows your pointer or finger. Pause it to look closely, or turn on slow motion to see each part of the movement.+- **Watch it help line:** It moves by itself, and one blob follows your pointer or finger. Pause it to look closely, or turn on slow motion.- **Player bar:** Pause (page) · Slow motion (page)- **Sequence:** the WebGL loop as in the preamble (`render(ts)`, 16ms gate). Each drawn frame adds the frame's time × Speed to `simT` (at most 100ms, as today) and draws.- **The first picture:** at load, `render(lastT+16)` runs once in place of `raf=requestAnimationFrame(render)`: it draws a frame at once and starts the loop.@@ -1388,7 +1388,7 @@ None: leave out the `details.hb-options` block.- **Kind:** loop. The blob keeps drifting and changing shape.- **Description:** Blobs melt together, and one drop chases your pointer. Best for hero sections.-- **Watch it help line:** It moves by itself, and one drop follows your pointer or finger. Pause it to look closely, or turn on slow motion to see each part of the movement.+- **Watch it help line:** It moves by itself, and one drop follows your pointer or finger. Pause it to look closely, or turn on slow motion.- **Player bar:** Pause (page) · Slow motion (page)- **Sequence:** an animation-frame loop moving SVG circles.- `frame(t)` splits into `step(dt)` and `place()`, and each frame runs both. `step(dt)` only advances `phase` and moves the drop toward the pointer. `place()` works out every drifting circle's position from `phase`, as today's `frame()` does (`b.x = b.bx + Math.sin(phase*b.sx + b.px)*b.ax`, `b.y = b.by + Math.cos(phase*b.sy + b.py)*b.ay`), and writes every circle's `cx`, `cy` and `r` (the drop at its own `x`, `y`).