Skip to content

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.

fix: correct WCAG citation, remove scrolljacking claim, fix grammar and hype word

matin24a68e1b19b5
diff --git a/animations/01-scroll-based/README.md b/animations/01-scroll-based/README.md
index f2539e33..23af2a16 100644
--- a/animations/01-scroll-based/README.md
+++ b/animations/01-scroll-based/README.md
@@ -8,5 +8,5 @@ Techniques driven by scroll position.
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.
+- [Reverse-Scrolling Columns](reverse-scrolling-columns/) — center column scrolls normally
+ while two flanking columns scroll in reverse, all three looping infinitely.
diff --git a/animations/01-scroll-based/reverse-scrolling-columns/README.md b/animations/01-scroll-based/reverse-scrolling-columns/README.md
index 48e2fb96..e71122c2 100644
--- a/animations/01-scroll-based/reverse-scrolling-columns/README.md
+++ b/animations/01-scroll-based/reverse-scrolling-columns/README.md
@@ -15,7 +15,7 @@ explicit and exaggerated.
- 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)
+- Scroll-driven features where the page scroll remains native and a contained stage drives the effect
- Anywhere opposing motion is used intentionally to create visual tension
## How it works
@@ -29,9 +29,9 @@ Each column contains two identical card sets stacked vertically. A single
const cOff = scrollTop % singleSetH;
centerInner.style.transform = `translate3d(0, ${cOff}px, 0)`;
-// Side columns — scroll up at the multiplier's magnitude
+// Side columns — negative mult reverses direction; magnitude sets speed
const sideOff = (scrollTop * Math.abs(mult)) % singleSetH;
-const sideY = mult >= 0 ? sideOff : -sideOff;
+const sideY = mult >= 0 ? sideOff : -sideOff; // positive = down, negative = up
sideInner.style.transform = `translate3d(0, ${sideY}px, 0)`;
```
@@ -47,7 +47,7 @@ exactly with where the first set started.
| `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) |
+| Scene height | 2000px | Total scroll travel (max scroll = scene − viewport height) |
## Production notes
@@ -57,8 +57,8 @@ exactly with where the first set started.
- **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.
+ (side columns freeze) — opposing motion is addressed in WCAG 2.1
+ SC 2.3.3 (Animation from Interactions, Level AAA) as a vestibular hazard.
- **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
diff --git a/index.html b/index.html
index 1c10091e..6f3bd9f1 100644
--- a/index.html
+++ b/index.html
@@ -33,7 +33,7 @@
</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>
+ <span class="desc" style="display:block">A center column scrolls normally while two flanking columns scroll in reverse, looping infinitely — the opposing motion creates strong directional depth contrast.</span>
</li>
</ul>
</body>