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: the headset entry describes what its site shows now (checked 2026-10-22): the parts rise off the top as the body turns to face you

matin7d09c36faa54
diff --git a/famous/index.html b/famous/index.html
index 4ed60f40..0b253d03 100644
--- a/famous/index.html
+++ b/famous/index.html
@@ -718,7 +718,7 @@ html.fx-open{overflow:hidden;padding-right:var(--fx-gap,0px)} /* the page does n
</div>
<div class="t-meta">
<h3 class="t-title"><a href="#apple-scroll">The headset that comes apart as you scroll</a></h3>
- <p class="t-desc">It stays in the middle while its parts rise out, layer by layer.</p>
+ <p class="t-desc">Its parts rise apart and drift off the top as the body turns to face you.</p>
<p class="t-foot"><a class="t-site" href="https://www.apple.com/apple-vision-pro/" target="_blank" rel="noopener">Seen on apple.com <span aria-hidden="true">↗</span><span class="sr"> (opens in a new tab)</span></a><span class="t-count">2 animations</span></p>
</div>
</li>
@@ -856,7 +856,7 @@ html.fx-open{overflow:hidden;padding-right:var(--fx-gap,0px)} /* the page does n
</section>
<section class="fx" id="apple-scroll" aria-labelledby="apple-scroll-t" data-fx-site="Apple" data-fx-start="scroll">
- <p class="fx-seen">Seen on <a href="https://www.apple.com/apple-vision-pro/" target="_blank" rel="noopener">apple.com/apple-vision-pro<span class="sr"> (opens in a new tab)</span></a> in&nbsp;<time datetime="2026-10-13">2026</time></p>
+ <p class="fx-seen">Seen on <a href="https://www.apple.com/apple-vision-pro/" target="_blank" rel="noopener">apple.com/apple-vision-pro<span class="sr"> (opens in a new tab)</span></a> in&nbsp;<time datetime="2026-10-22">2026</time></p>
<h2 id="apple-scroll-t" tabindex="-1">The headset that comes apart as you scroll</h2>
<p class="fx-chips"><span class="fx-chip">Starts on scroll</span><span class="fx-chip">Made from 2 animations</span></p>
<div class="fx-version">
@@ -871,7 +871,7 @@ html.fx-open{overflow:hidden;padding-right:var(--fx-gap,0px)} /* the page does n
</div>
</div>
<h3 class="fx-sub">What you see</h3>
- <p class="fx-what">About two thirds of the way down the page, the headset stays in the middle of the screen while you scroll: its parts rise out of it layer by layer, then it tips up to show its lenses, and scrolling back puts it together.</p>
+ <p class="fx-what">About two thirds of the way down the page, the headset comes up from below as a stack of its parts. As you scroll, the parts rise apart and drift off the top while the body swings up behind them and turns to face you, its two lenses in the middle, with a short caption underneath. Scrolling back reverses it.</p>
<h3 class="fx-sub">Good to know</h3>
<dl class="fx-know">
<div><dt>Starts</dt><dd>Scrolling through the section plays it, forward and back.</dd></div>
@@ -884,7 +884,7 @@ html.fx-open{overflow:hidden;padding-right:var(--fx-gap,0px)} /* the page does n
<article class="card c1" data-slug="pin-animation"><div class="stage"><div class="pv" aria-hidden="true"></div><span class="tag">It stays put</span></div><div class="meta"><h4 class="title"><a href="../animations/01-scroll-based/pin-animation/">Pin Animation</a></h4><p class="desc">One part stays put while its text changes on scroll. Best for feature lists.</p></div></article>
</div>
<h3 class="fx-sub">A prompt to build something similar</h3>
- <div class="fx-pbox"><p class="fx-prompt">Add a scroll-driven product reveal to <mark>[your product section]</mark>. Pin the product in the middle of the screen while the visitor scrolls through a section a few screens tall, and let the scroll play a short video or a series of pictures of it, so it turns or comes apart as they scroll down and goes back together as they scroll up. Let a short headline and a paragraph about each part scroll by as usual. Show a still picture until the video or pictures are ready, and give the product a text description for screen readers. Touch scrolling drives it the same way. If the visitor has reduced motion turned on, show a few still pictures with their text instead.</p></div>
+ <div class="fx-pbox"><p class="fx-prompt">Add a scroll-driven product reveal to <mark>[your product section]</mark>. In a section a few screens tall, bring the product up from below as a stack of its parts, and let the scroll lift the parts apart and carry them off the top while the body swings up behind them and turns to face the visitor, ending in the middle with a short headline and paragraph under it. Move it slightly slower than the page, and tie it to the scroll position so scrolling up plays it backward. Show a still picture until it is ready, and give the product a text description for screen readers. Touch scrolling drives it the same way. If the visitor has reduced motion turned on, show a few still pictures with their text instead.</p></div>
<button type="button" class="copy" aria-label="Copy prompt for The headset that comes apart as you scroll"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="copy-l" aria-live="polite">Copy prompt</span></button>
<a class="fx-real" href="https://www.apple.com/apple-vision-pro/" target="_blank" rel="noopener">Watch the real one on apple.com <span aria-hidden="true">↗</span><span class="sr"> (opens in a new tab)</span></a>
</section>
diff --git a/tests/famous.test.js b/tests/famous.test.js
index 8aba70d4..d79777f3 100644
--- a/tests/famous.test.js
+++ b/tests/famous.test.js
@@ -488,6 +488,8 @@ const SITE_PHRASES = [
// (apple-sweep), which the check covered too, and entry 8 was left out, as no other reserve had passed.
const CHECKED_IDS = ['stripe-ribbon', 'apple-scroll', 'landonorris-reveal', 'linear-intro', 'apple-menu', 'wikipedia-previews', 'apple-sweep', 'spotify-cards', 'youtube-loading', 'pudding-chart', 'medium-top-bar'];
const CHECKED_DAY = '2026-10-13';
+// Entries checked again on their site before the gallery release, and the day of that check.
+const RECHECKED = { 'apple-scroll': '2026-10-22' };
// The text a visitor reads, with each tag ending a word (textOf above joins the end of one element to the start of the next, so a
// slogan at the end of a card label would run into the card's name and go unseen).
@@ -499,14 +501,15 @@ test('no visible text of the page holds a name or slogan the live check saw on a
for (const phrase of SITE_PHRASES) assert.ok(!names(shown, phrase), `"${phrase}" is in the text of the page`);
});
-test(`each entry the live check covered is dated ${CHECKED_DAY}, the day it was checked`, () => {
+test(`each entry the live check covered is dated ${CHECKED_DAY}, or the day it was checked again`, () => {
const present = ENTRIES.filter(e => CHECKED_IDS.includes(e.id));
assert.ok(present.length > 0, 'the page holds some of the checked entries');
for (const e of present) {
const seen = e.body.match(/<p class="fx-seen">[\s\S]*?<\/p>/);
assert.ok(seen, `${e.id}: a Seen on line`);
const days = [...seen[0].matchAll(/<time datetime="([^"]*)">/g)].map(m => m[1]);
- assert.deepEqual(days, [CHECKED_DAY], `${e.id}: its Seen on line is dated ${CHECKED_DAY}`);
+ const day = RECHECKED[e.id] || CHECKED_DAY;
+ assert.deepEqual(days, [day], `${e.id}: its Seen on line is dated ${day}`);
}
});