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
Add implementation plan for reverse-scrolling-columns animation
matindd55e9ab4ce5
diff --git a/docs/superpowers/plans/2026-05-20-reverse-scrolling-columns.md b/docs/superpowers/plans/2026-05-20-reverse-scrolling-columns.mdnew file mode 100644index 00000000..28f515e0--- /dev/null+++ b/docs/superpowers/plans/2026-05-20-reverse-scrolling-columns.md@@ -0,0 +1,611 @@+# Reverse-Scrolling Columns Implementation Plan++> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.++**Goal:** Build a scroll stage with three infinitely-looping columns where the center scrolls down and the two flanking columns scroll up, with a live speed-multiplier slider that lets users break and restore the depth illusion.++**Architecture:** Single `index.html`. Cards are generated by JS (not hardcoded HTML) to stay under 300 lines. Each column-inner contains two identical card sets stacked; modulo math wraps the `translate3d` offset for seamless looping. The center column uses a `margin-top: -singleSetH` trick so its downward motion loops from above. A passive rAF-throttled scroll listener drives all three column transforms.++**Tech Stack:** Plain HTML5, CSS custom properties, vanilla JS. No libraries, no build step.++---++## File Map++| Action | Path | Responsibility |+|--------|------|----------------|+| Create | `animations/01-scroll-based/reverse-scrolling-columns/index.html` | Full demo |+| Create | `animations/01-scroll-based/reverse-scrolling-columns/README.md` | 6-section explanation |+| Modify | `animations/01-scroll-based/README.md` | Add entry |+| Modify | `index.html` (root) | Add link |+| Modify | `animations/01-scroll-based/parallax-depth-of-field/README.md` | Add back-link |+| Modify | `animations/01-scroll-based/parallax-scrolling/README.md` | Add back-link |++---++## Task 1: Folder, README, and All Index/Back-Link Updates++**Files:**+- Create: `animations/01-scroll-based/reverse-scrolling-columns/README.md`+- Modify: `animations/01-scroll-based/README.md`+- Modify: `index.html` (root)+- Modify: `animations/01-scroll-based/parallax-depth-of-field/README.md`+- Modify: `animations/01-scroll-based/parallax-scrolling/README.md`++- [ ] **Step 1: Create folder**++```bash+mkdir -p animations/01-scroll-based/reverse-scrolling-columns+```++- [ ] **Step 2: Create README.md**++Create `animations/01-scroll-based/reverse-scrolling-columns/README.md`:++```markdown+# Reverse-Scrolling Columns++[Live demo](index.html)++## What it is++Reverse-scrolling columns place a normally-scrolling center column between+two flanking columns that scroll in the opposite direction. All three columns+loop infinitely using a two-set DOM structure and modulo offset math. The+opposing motion amplifies perceived depth: the brain interprets counter-motion+as evidence of different distances — the same cue used in parallax, but made+explicit and exaggerated.++## When to use it++- Hero layouts where bold visual contrast sets the editorial tone+- Portfolio or agency showcases that need motion without heavy assets+- Scrolljacking-free scroll-driven features (the stage drives its own scroll)+- Anywhere opposing motion is used intentionally to create visual tension++## How it works++Each column contains two identical card sets stacked vertically. A single+`scroll` event listener reads `stage.scrollTop` and feeds it into a+`requestAnimationFrame` callback that applies `translate3d` to each column:++```js+// Center column — scrolls down (margin-top pre-offsets by -singleSetH)+const cOff = scrollTop % singleSetH;+centerInner.style.transform = `translate3d(0, ${cOff}px, 0)`;++// Side columns — scroll up at the multiplier's magnitude+const sideOff = (scrollTop * Math.abs(mult)) % singleSetH;+const sideY = mult >= 0 ? sideOff : -sideOff;+sideInner.style.transform = `translate3d(0, ${sideY}px, 0)`;+```++`singleSetH` is the height of one card set (12 cards + gaps), measured from+the DOM after card generation. The modulo keeps the offset in the range+`[0, singleSetH)`, producing a seamless wrap when the second set aligns+exactly with where the first set started.++## Key parameters++| Parameter | Default | Effect |+|-----------|---------|--------|+| `mult` | −1.0 | Side-column direction and speed; negative = reverse |+| `singleSetH` | measured | Height of one card set; determines loop period |+| Card count | 12 | More cards = longer loop period |+| Scene height | 2000px | Total scroll travel (max scroll ≈ 1380px) |++## Production notes++- **Infinite loop requires modulo math.** Without wrapping, columns run out+ of content after one traversal. The two-set structure (one visible, one+ waiting) ensures there is always content at either end.+- **Vestibular risk at high speed.** Opposing motion is a known vestibular+ trigger. In production, keep `|mult|` between 0.3 and 1.0; avoid values+ above 1.5. Always respect `prefers-reduced-motion` by setting `mult = 0`+ (side columns freeze) — opposing motion is specifically listed in WCAG 2.3+ as a hazard for motion-sensitive users.+- **Library equivalents.** GSAP ScrollTrigger can drive column transforms+ with `scrub: true` and custom callbacks per column. Locomotive Scroll+ exposes per-element `data-scroll-speed` attributes that accept negative+ values for reverse motion. Lenis + a scroll subscriber achieves the same.+- **Performance.** `translate3d` promotes each column to its own compositor+ layer. Pair with `will-change: transform` declared in CSS before the first+ paint. Never animate `top`, `margin-top`, or `height` — those trigger layout.++## See also++- [Parallax Scrolling](../parallax-scrolling/) — speed-ratio depth without+ opposing direction; the foundation this technique builds on.+- [Parallax Depth-of-Field](../parallax-depth-of-field/) — depth via blur+ rather than directional contrast.+```++- [ ] **Step 3: Update category README**++Open `animations/01-scroll-based/README.md` and replace its entire content with:++```markdown+# Scroll-Based Animations++Techniques driven by scroll position.++## Entries++- [Parallax Depth-of-Field](parallax-depth-of-field/) — Five layered SVG mountains with+ parallax translation and blur-based depth-of-field driven by scroll progress.+- [Parallax Scrolling](parallax-scrolling/) — Four SVG layers at different scroll speeds+ create a 3D depth illusion; adjustable speed multipliers show how ratios make or break the effect.+- [Reverse-Scrolling Columns](reverse-scrolling-columns/) — A center column that scrolls+ normally while two flanking columns scroll in the opposite direction, looping infinitely.+```++- [ ] **Step 4: Update root index.html**++In root `index.html`, find:++```html+ <li>+ <a href="animations/01-scroll-based/parallax-scrolling/">Parallax Scrolling</a>+ <span class="desc" style="display:block">Four SVG layers at different scroll speeds create a 3D depth illusion; adjustable speed sliders show how ratios make or break the effect.</span>+ </li>+ </ul>+```++Replace with:++```html+ <li>+ <a href="animations/01-scroll-based/parallax-scrolling/">Parallax Scrolling</a>+ <span class="desc" style="display:block">Four SVG layers at different scroll speeds create a 3D depth illusion; adjustable speed sliders show how ratios make or break the effect.</span>+ </li>+ <li>+ <a href="animations/01-scroll-based/reverse-scrolling-columns/">Reverse-Scrolling Columns</a>+ <span class="desc" style="display:block">A center column scrolls normally while two flanking columns scroll in reverse, looping infinitely — the opposing motion creates a striking depth contrast.</span>+ </li>+ </ul>+```++- [ ] **Step 5: Add back-link to parallax-depth-of-field README**++In `animations/01-scroll-based/parallax-depth-of-field/README.md`, find the `## See also` section and replace it with:++```markdown+## See also++- [Parallax Scrolling](../parallax-scrolling/) — four SVG layers at different scroll speeds;+ the speed-ratio concept without the blur.+- [Reverse-Scrolling Columns](../reverse-scrolling-columns/) — opposing column motion+ creates depth contrast via direction rather than blur or speed ratios.+```++- [ ] **Step 6: Add back-link to parallax-scrolling README**++In `animations/01-scroll-based/parallax-scrolling/README.md`, find the `## See also` section and replace it with:++```markdown+## See also++- [Parallax Depth-of-Field](../parallax-depth-of-field/) — the same depth+ technique with blur applied per layer based on focal-plane distance rather+ than translation speed.+- [Reverse-Scrolling Columns](../reverse-scrolling-columns/) — takes speed-ratio+ depth further by making columns scroll in opposite directions.+```++- [ ] **Step 7: Commit**++```bash+git add animations/ index.html+git commit -m "feat: add reverse-scrolling-columns README and update all indexes"+```++---++## Task 2: HTML Scaffold — CSS, Layout, and Sidebar Markup++**Files:**+- Create: `animations/01-scroll-based/reverse-scrolling-columns/index.html`++Build the full page without JavaScript. Column divs will be empty — cards are injected by JS in Task 3.++- [ ] **Step 1: Create index.html**++Create `animations/01-scroll-based/reverse-scrolling-columns/index.html` with exactly this content:++```html+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Reverse-Scrolling Columns</title>+ <style>+ :root{+ --bg:#060a10;--ui-bg:#0d1117;--ui-border:#21262d;+ --ui-accent:#58a6ff;--ui-text:#c9d1d9;--ui-muted:#8b949e;+ --card-bg:#161b22;+ }+ *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}+ body{background:var(--bg);color:var(--ui-text);font-family:monospace;+ padding:clamp(12px,3vw,24px)}+ header{margin-bottom:20px}+ header h1{font-size:clamp(11px,1.8vw,15px);letter-spacing:2px;text-transform:uppercase}+ header p{font-size:clamp(10px,1.2vw,12px);color:var(--ui-muted);margin-top:4px}++ .layout{display:flex;gap:clamp(12px,2vw,24px);align-items:flex-start}++ .stage{+ flex:1;min-width:0;height:620px;+ overflow-y:scroll;scrollbar-width:none;+ border:1px solid var(--ui-border);border-radius:8px;+ }+ .stage::-webkit-scrollbar{display:none}+ .scene{height:2000px}+ .columns{+ position:sticky;top:0;height:620px;+ display:flex;gap:8px;overflow:hidden;padding:8px;+ }+ .col{flex:1;overflow:hidden}+ .col-inner{display:flex;flex-direction:column;gap:8px;will-change:transform}+ .card-set{display:flex;flex-direction:column;gap:8px}++ .card{+ background:var(--card-bg);border:1px solid var(--ui-border);+ border-radius:6px;padding:10px 12px;+ display:flex;align-items:center;gap:10px;flex-shrink:0;+ }+ .icon-box{+ width:28px;height:28px;border-radius:4px;flex-shrink:0;+ display:flex;align-items:center;justify-content:center;+ }+ .card-label{font-size:11px;color:var(--ui-text);letter-spacing:.3px}+ .card-meta{font-size:9px;color:var(--ui-muted);margin-top:2px}++ aside{+ width:clamp(200px,22vw,240px);flex-shrink:0;+ background:var(--ui-bg);border:1px solid var(--ui-border);+ border-radius:8px;padding:16px;+ display:flex;flex-direction:column;gap:10px;+ }+ .note{+ font-size:10px;color:var(--ui-muted);line-height:1.6;+ border-left:2px solid var(--ui-accent);padding-left:8px;+ }+ .lbl{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--ui-accent)}+ .row{display:flex;justify-content:space-between;font-size:10px}+ .row .v{color:var(--ui-text)}+ .tbl{display:flex;flex-direction:column;gap:2px}+ .tbl .row{font-size:10px;color:var(--ui-muted)}+ .sr{display:flex;align-items:center;gap:6px;font-size:10px}+ .sr input[type=range]{flex:1;accent-color:var(--ui-accent);min-height:44px}+ .sr .sv{width:40px;text-align:right;color:var(--ui-text)}+ .div{height:1px;background:var(--ui-border)}+ .tog{display:flex;align-items:center;gap:8px;font-size:10px;cursor:pointer;min-height:44px}+ .tog input{accent-color:var(--ui-accent);width:16px;height:16px;flex-shrink:0}+ button{+ background:transparent;border:1px solid var(--ui-border);+ color:var(--ui-text);font-family:monospace;font-size:10px;+ padding:17px 8px;border-radius:4px;cursor:pointer;width:100%;+ }+ button:hover{border-color:var(--ui-accent);color:var(--ui-accent)}++ @media(max-width:600px){+ .layout{flex-direction:column}+ aside{width:100%}+ .stage{height:480px}+ .columns{height:480px}+ .col-right{display:none}+ }+ @media(prefers-reduced-motion:reduce){.col-inner{will-change:auto}}+ </style>+</head>+<body>++<header>+ <h1>Reverse-Scrolling Columns</h1>+ <p>A center column that scrolls normally while two flanking columns scroll in the opposite direction.</p>+</header>++<div class="layout">++ <div class="stage" id="stage">+ <div class="scene">+ <div class="columns">+ <div class="col">+ <div class="col-inner" id="inner-left"></div>+ </div>+ <div class="col">+ <div class="col-inner" id="inner-center"></div>+ </div>+ <div class="col col-right">+ <div class="col-inner" id="inner-right"></div>+ </div>+ </div>+ </div>+ </div>++ <aside>+ <p class="note">The illusion of the side columns 'flowing the other way' is purely visual — they scroll at the same speed as your input, just in the opposite direction. Setting the multiplier to +1.0× makes them move with you and the effect disappears.</p>++ <div>+ <div class="lbl">Scroll Progress</div>+ <div class="row"><span>Progress</span><span class="v" id="progress">0%</span></div>+ </div>++ <div>+ <div class="lbl">Column Offsets</div>+ <div class="tbl">+ <div class="row"><span>Left</span><span class="v" id="off-left">0px</span></div>+ <div class="row"><span>Center</span><span class="v" id="off-center">0px</span></div>+ <div class="row"><span>Right</span><span class="v" id="off-right">0px</span></div>+ </div>+ </div>++ <div class="div"></div>++ <div>+ <div class="lbl">Speed Multiplier</div>+ <div class="sr">+ <input type="range" id="mult-slider" min="-200" max="200" step="10" value="-100">+ <span class="sv" id="mult-val">−1.0×</span>+ </div>+ </div>++ <div class="div"></div>++ <label class="tog" for="match-tog">+ <input type="checkbox" id="match-tog">+ <span>Match direction (+1.0×)</span>+ </label>++ <button id="reset-btn">Reset</button>+ </aside>++</div>++</body>+</html>+```++- [ ] **Step 2: Check line count**++```bash+wc -l animations/01-scroll-based/reverse-scrolling-columns/index.html+```++Expected: under 130 lines (JS added in Task 3 will bring total to ~280).++- [ ] **Step 3: Commit**++```bash+git add animations/01-scroll-based/reverse-scrolling-columns/index.html+git commit -m "feat: add reverse-scrolling-columns HTML scaffold"+```++---++## Task 3: Card Generation + Infinite Loop JS++**Files:**+- Modify: `animations/01-scroll-based/reverse-scrolling-columns/index.html` — insert `<script>` before `</body>`++- [ ] **Step 1: Insert the script block**++Find `</body>\n</html>` at the end of `index.html` and replace with:++```html+<script>+ const CARDS = [+ {s:'grid', l:'Project Alpha', m:'Design · 2024', a:'#58a6ff'},+ {s:'circle', l:'Studio Work', m:'Motion · 2023', a:'#bf91f3'},+ {s:'tri', l:'Concept 03', m:'Dev · 2024', a:'#3fb950'},+ {s:'diamond', l:'Brand Atlas', m:'Identity · 2023', a:'#f78166'},+ {s:'cross', l:'Interface V2', m:'UX · 2024', a:'#ffa657'},+ {s:'arc', l:'Motion Reel', m:'Video · 2022', a:'#79c0ff'},+ {s:'zz', l:'Type Study', m:'Type · 2023', a:'#d2a8ff'},+ {s:'dot', l:'Data Viz', m:'Research · 2024', a:'#56d364'},+ {s:'lines', l:'Scroll Kit', m:'Library · 2023', a:'#58a6ff'},+ {s:'hex', l:'Space UI', m:'Design · 2024', a:'#bf91f3'},+ {s:'wave', l:'Sound Tools', m:'Audio · 2023', a:'#3fb950'},+ {s:'ring', l:'Orbit System', m:'Motion · 2024', a:'#f78166'},+ ];+ const SVG = {+ grid: '<rect x="2" y="2" width="4" height="4" rx="1" fill="currentColor"/><rect x="8" y="2" width="4" height="4" rx="1" fill="currentColor" opacity=".45"/><rect x="2" y="8" width="4" height="4" rx="1" fill="currentColor" opacity=".45"/><rect x="8" y="8" width="4" height="4" rx="1" fill="currentColor"/>',+ circle: '<circle cx="7" cy="7" r="4" stroke="currentColor" stroke-width="1.5" fill="none"/><circle cx="7" cy="7" r="1.5" fill="currentColor"/>',+ tri: '<polygon points="7,2 12,11 2,11" stroke="currentColor" stroke-width="1.5" fill="none"/>',+ diamond:'<polygon points="7,1 13,7 7,13 1,7" stroke="currentColor" stroke-width="1.5" fill="none"/>',+ cross: '<line x1="7" y1="2" x2="7" y2="12" stroke="currentColor" stroke-width="1.5"/><line x1="2" y1="7" x2="12" y2="7" stroke="currentColor" stroke-width="1.5"/>',+ arc: '<path d="M3 10 Q7 2 11 10" stroke="currentColor" stroke-width="1.5" fill="none"/>',+ zz: '<polyline points="2,10 5,4 8,10 11,4" stroke="currentColor" stroke-width="1.5" fill="none"/>',+ dot: '<circle cx="7" cy="7" r="2.5" fill="currentColor"/><circle cx="3" cy="11" r="1.5" fill="currentColor" opacity=".5"/><circle cx="11" cy="11" r="1.5" fill="currentColor" opacity=".5"/>',+ lines: '<line x1="2" y1="5" x2="12" y2="5" stroke="currentColor" stroke-width="1.5"/><line x1="2" y1="9" x2="9" y2="9" stroke="currentColor" stroke-width="1.5"/>',+ hex: '<polygon points="7,1 12,4 12,10 7,13 2,10 2,4" stroke="currentColor" stroke-width="1.5" fill="none"/>',+ wave: '<path d="M2 7 C4 4 6 10 8 7 S12 4 12 7" stroke="currentColor" stroke-width="1.5" fill="none"/>',+ ring: '<circle cx="7" cy="7" r="5" stroke="currentColor" stroke-width="2" fill="none"/><circle cx="7" cy="7" r="2" fill="currentColor" opacity=".35"/>',+ };++ function makeSet() {+ const div = document.createElement('div');+ div.className = 'card-set';+ div.innerHTML = CARDS.map(c =>+ `<div class="card">` ++ `<div class="icon-box" style="background:${c.a}22;color:${c.a}">` ++ `<svg width="14" height="14" viewBox="0 0 14 14">${SVG[c.s]}</svg></div>` ++ `<div><div class="card-label">${c.l}</div>` ++ `<div class="card-meta">${c.m}</div></div></div>`+ ).join('');+ return div;+ }++ const leftInner = document.getElementById('inner-left');+ const centerInner = document.getElementById('inner-center');+ const rightInner = document.getElementById('inner-right');++ [leftInner, centerInner, rightInner].forEach(el => {+ el.appendChild(makeSet());+ el.appendChild(makeSet());+ });++ // Measure loop period AFTER DOM insertion+ const singleSetH = leftInner.children[0].offsetHeight + 8; // +8px = gap between the two sets++ // Center column: pre-offset upward so set A is above the viewport, set B is visible+ centerInner.style.marginTop = `-${singleSetH}px`;++ const stage = document.getElementById('stage');+ const progEl = document.getElementById('progress');+ const offLeft = document.getElementById('off-left');+ const offCtr = document.getElementById('off-center');+ const offRight = document.getElementById('off-right');+ const slider = document.getElementById('mult-slider');+ const multVal = document.getElementById('mult-val');+ const matchTog = document.getElementById('match-tog');+ const resetBtn = document.getElementById('reset-btn');+ const motionMQ = window.matchMedia('(prefers-reduced-motion: reduce)');+ let mult = -1.0;+ let ticking = false;++ function fmt(n) { return (n >= 0 ? '+' : '') + n.toFixed(1) + '×'; }++ function update() {+ if (motionMQ.matches) return;+ const st = stage.scrollTop;+ const max = stage.scrollHeight - stage.clientHeight;+ progEl.textContent = max > 0 ? Math.round(st / max * 100) + '%' : '0%';++ // Center: always scrolls downward; margin-top=-singleSetH makes it loop from above+ const cOff = st % singleSetH;+ centerInner.style.transform = `translate3d(0,${cOff}px,0)`;+ offCtr.textContent = Math.round(cOff) + 'px';++ // Sides: magnitude drives speed, sign drives direction+ const sideRaw = st * Math.abs(mult);+ const sideOff = sideRaw % singleSetH;+ const sideY = mult >= 0 ? sideOff : -sideOff;+ leftInner.style.transform = `translate3d(0,${sideY}px,0)`;+ rightInner.style.transform = `translate3d(0,${sideY}px,0)`;+ offLeft.textContent = Math.round(sideY) + 'px';+ offRight.textContent = Math.round(sideY) + 'px';++ ticking = false;+ }++ stage.addEventListener('scroll', () => {+ if (motionMQ.matches) return;+ if (!ticking) { requestAnimationFrame(update); ticking = true; }+ }, { passive: true });++ slider.addEventListener('input', () => {+ if (matchTog.checked) return;+ mult = slider.value / 100;+ multVal.textContent = fmt(mult);+ update();+ });++ matchTog.addEventListener('change', () => {+ mult = matchTog.checked ? 1.0 : slider.value / 100;+ multVal.textContent = fmt(mult);+ update();+ });++ resetBtn.addEventListener('click', () => {+ matchTog.checked = false;+ slider.value = -100;+ mult = -1.0;+ multVal.textContent = '−1.0×';+ stage.scrollTop = 0;+ update();+ });++ update();+</script>+</body>+</html>+```++- [ ] **Step 2: Check final line count**++```bash+wc -l animations/01-scroll-based/reverse-scrolling-columns/index.html+```++Expected: under 280 lines. If over 300, collapse SVG strings to fewer characters.++- [ ] **Step 3: Verify in browser**++Open `animations/01-scroll-based/reverse-scrolling-columns/index.html`.++Expected — static state:+- Three equal columns with 12 cards each visible (cards injected by JS)+- Cards show icon box with tinted background, label, meta line+- Dark stage with sidebar to the right++Expected — scroll behavior:+- Left and right columns scroll upward as user scrolls down+- Center column scrolls downward as user scrolls down+- All three loop seamlessly — no gap or jump when a set repeats+- Progress % updates in sidebar; offset readouts update live++Expected — controls:+- Slider at 0: side columns freeze (only center moves)+- Slider at +1.0: all three move same direction (effect breaks, no depth contrast)+- Slider at −2.0: side columns move twice as fast in reverse (dramatic)+- "Match direction" toggle: forces mult to +1.0, dims slider+- Reset: scrolls back to top, restores −1.0, clears toggle++Expected — mobile (resize to ≤600px):+- Right column hidden, two-column layout (left + center)+- Sidebar stacks below stage++- [ ] **Step 4: Commit**++```bash+git add animations/01-scroll-based/reverse-scrolling-columns/index.html+git commit -m "feat: add card generation and infinite-loop scroll mechanic"+```++---++## Self-Review++### Spec coverage++| Requirement | Covered by |+|-------------|-----------|+| 3 columns: left up, center down, right up | Task 3 — `sideY = -sideOff`, `cOff = +offset` |+| ~12 cards per column, portfolio tiles | Task 3 — `CARDS` array (12 entries), Style A |+| Cards: icon box, label, meta | Task 3 — `makeSet()` generates `.card` with `.icon-box`, `.card-label`, `.card-meta` |+| Infinite loop via modulo | Task 3 — `% singleSetH`; center margin-top trick; two card-sets per column |+| Single rAF-throttled scroll listener | Task 3 — `ticking` flag, passive listener |+| `translate3d` for GPU | Task 3 — all transforms use `translate3d(0,Xpx,0)` |+| Speed multiplier slider −2.0 to +2.0 | Task 2 (markup) + Task 3 (slider listener) |+| Slider at +1.0 = effect disappears | Task 3 — `sideY = mult >= 0 ? sideOff : -sideOff`; at mult=+1, sides move down with center |+| Match direction toggle | Task 3 — `matchTog` forces mult=1.0 |+| Per-column offset readout | Task 3 — `offLeft`, `offCtr`, `offRight` updated in `update()` |+| Scroll progress % | Task 3 — `progEl.textContent` |+| Reset button | Task 3 — resets scrollTop, mult, slider, toggle |+| Educational note | Task 2 — `<p class="note">` |+| Mobile: 2 columns (left + center) | Task 2 — `@media(max-width:600px) .col-right{display:none}` |+| Controls stack below on mobile | Task 2 — `flex-direction:column` at ≤600px |+| Touch targets ≥44px | Task 2 — slider `min-height:44px`, button `padding:17px`, toggle `min-height:44px` |+| Touch scroll works | Task 3 — passive listener on `.stage` (real scroll event, works with touch) |+| `prefers-reduced-motion` — freeze all | Task 3 — `motionMQ.matches` guard in `update()` and scroll handler |+| `will-change: transform` on col-inners | Task 2 — CSS `.col-inner { will-change:transform }` |+| README all 6 sections | Task 1 |+| Category README updated | Task 1 |+| Root index updated | Task 1 |+| Back-links in sibling entries | Task 1 |+| Single file, no deps, offline | All code inline |+| Under 300 lines | Task 3 Step 2 — explicit check |++### Placeholder scan++None.++### Type/name consistency++- `singleSetH` — computed in Task 3 after DOM insertion; used in `update()` in same script. ✓+- `mult` — declared at module scope; mutated by slider, toggle, reset. ✓+- `leftInner`, `centerInner`, `rightInner` — set from `getElementById`; used in `update()`. ✓+- `matchTog` checkbox ID is `match-tog`; JS selects it with `getElementById('match-tog')`. ✓+- Slider `value` is in range [−200, 200]; divided by 100 → [−2.0, +2.0]. Consistent with `mult` semantics throughout. ✓