Image Sequence Scroll
Sequenza di immagini allo scroll · Secuencia de imágenes con scroll · Scroll-scrubbed frames · Apple-style product scroll · Scrollytelling 3D
A product spins, opens or comes apart as you scroll, because scrolling steps through an image sequence frame by frame. Made famous by Apple product pages, it feels like a video driven by the scroll wheel.
- Era
- 2017 – today
- Use
- Mainstream
Live demo
View code
<main>
<div class="txt"><h1>Ogni dettaglio.</h1><p>Fotogramma <b id="n">060</b> / 120</p></div>
<canvas id="c" width="300" height="240"></canvas>
<div class="rail"><u id="t"></u></div>
</main>
<script>
const c=document.getElementById('c'),x=c.getContext('2d'),n=document.getElementById('n'),t=document.getElementById('t');
function draw(f){const a=f/120*Math.PI*2,s=Math.cos(a),w=Math.abs(s)*62+6,cx=150,cy=118;
x.clearRect(0,0,300,240);
const g=x.createRadialGradient(cx,cy+90,4,cx,cy+90,110);g.addColorStop(0,'#2997FF33');g.addColorStop(1,'#0000');x.fillStyle=g;x.fillRect(0,0,300,240);
const e=Math.sin(a)*14;x.fillStyle='#3a3a3e';x.beginPath();x.roundRect(cx-w+e,cy-82,w*2,164,Math.min(w,30));x.fill();
const l=x.createLinearGradient(cx-w,0,cx+w,0);l.addColorStop(0,'#1d1d1f');l.addColorStop(.5+s*.3,'#d6d6db');l.addColorStop(1,'#2b2b2e');
x.fillStyle=l;x.beginPath();x.roundRect(cx-w,cy-82,w*2,164,Math.min(w,30));x.fill();
if(s>.15){x.fillStyle='#0b0b0d';x.beginPath();x.roundRect(cx-w+6*s,cy-74,(w-6*s)*2,148,Math.min(w,24));x.fill();
x.fillStyle='#BF4800';x.beginPath();x.arc(cx,cy-40,10*s,0,7);x.fill()}
n.textContent=String(f).padStart(3,'0');t.style.transform='translateY('+(f/120*170)+'px)'}
draw(60);
if(matchMedia('(prefers-reduced-motion: no-preference)').matches){let p=0;
(function loop(){p+=.004;const k=(1-Math.cos(p*Math.PI))/2;draw(Math.round(k*120)%121);requestAnimationFrame(loop)})()}
</script> body{margin:0;height:100vh;display:grid;place-items:center;overflow:hidden;background:#000;color:#F5F5F7;font-family:Inter,sans-serif}
main{display:flex;align-items:center;gap:8px;width:min(560px,92vw);position:relative}
.txt{flex:1;min-width:0}
h1{font:600 clamp(24px,6vw,38px)/1.05 'Inter Tight',sans-serif;margin:0 0 10px;letter-spacing:-.02em}
p{margin:0;color:#86868B;font-size:13px;font-weight:500}
b{color:#2997FF;font-variant-numeric:tabular-nums;font-weight:500}
canvas{width:min(300px,52vw);height:auto}
.rail{width:3px;height:190px;background:#1d1d1f;border-radius:3px}
.rail u{display:block;width:3px;height:20px;background:#F5F5F7;border-radius:3px} Characteristics
- 60 to 200 preloaded frames
- Canvas redrawn from scroll position
- Pinned sticky section while the sequence plays
- Headlines appearing at set thresholds
- Neutral backdrop with studio-lit product
Palette
Click a swatch to copy it
Typography
Headings · Inter Tight Image Sequence Scroll
Body · Inter A product spins, opens or comes apart as you scroll, because scrolling steps through an image sequence frame by frame. Made famous by Apple product pages, it feels like a video driven by the scroll wheel.
Motion
- Easing
lineare legato allo scroll (scrub), eventuale smoothing lerp 0.1- Typical duration
- dipende dallo scroll; sezione fissata per 2–5 altezze di schermo
- Techniques
- Canvas 2D drawImage, GSAP ScrollTrigger scrub e pin, position sticky, precaricamento con Image() e decode(), video con currentTime legato allo scroll, sprite sheet
Accessibility (reduced motion)
Show a single representative frame, or a few key frames as still images, and let the page scroll normally.
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: Image Sequence Scroll (Sequenza di immagini allo scroll, Secuencia de imágenes con scroll). A product spins, opens or comes apart as you scroll, because scrolling steps through an image sequence frame by frame. Made famous by Apple product pages, it feels like a video driven by the scroll wheel. Characteristics: 60 to 200 preloaded frames, Canvas redrawn from scroll position, Pinned sticky section while the sequence plays, Headlines appearing at set thresholds, Neutral backdrop with studio-lit product. Palette: #000000, #F5F5F7, #86868B, #2997FF, #BF4800. Typography: headings in Inter Tight, body text in Inter (Google Fonts or equivalents). Mood: elegant, immersive, futuristic. Motion: easing lineare legato allo scroll (scrub), eventuale smoothing lerp 0.1, typical duration dipende dallo scroll; sezione fissata per 2–5 altezze di schermo; techniques: Canvas 2D drawImage, GSAP ScrollTrigger scrub e pin, position sticky, precaricamento con Image() e decode(), video con currentTime legato allo scroll, sprite sheet. With prefers-reduced-motion: Show a single representative frame, or a few key frames as still images, and let the page scroll normally. References: Pagine prodotto Apple (AirPods Pro / iPhone), GSAP ScrollTrigger scrub, CSS-Tricks «Let's Make One of Those Fancy Scrolling Animations Used on Apple Product Pages».
Relations
Derives from
Similar to
References
- Pagine prodotto Apple (AirPods Pro / iPhone)
- GSAP ScrollTrigger scrub
- CSS-Tricks «Let's Make One of Those Fancy Scrolling Animations Used on Apple Product Pages»