Effetti · All You Need Is Taste · l’altro ieri
An Effect (mount → destroy): a band that pins the view while its row of view-wide slides travels sideways with the scroll.
The band is 150 % of a view tall per slide (three slides: 4.5 views); its stage is position: sticky, top 0, one view tall. Travel starts when the band's top reaches the view's top and lasts L = max(T / W × C − 0.1 × view height, 0.1 × C) px of scroll — W the row's width (slides × view width), T = W − view width, C the band's height — linear, so at a 1600 px view with two slides the row moves 1.252 px across for every px down; the rest of the band (C − view − L) is a held beat with the last slide filling the view, then the page lets go. The row never jumps to the scroll: every new scroll target starts a fresh 1000 ms glide from where the row is, exponential out (1 − 2^(−10t)), counted from the previous frame, so on a continuous trackpad scroll the row follows about 0.15 s behind and lands softly within 0.4 s of the scroll stopping. One wide picture straddles the seam before the second slide and changes as it crosses: its own progress q runs from the picture's top 0.35 view above the view's top to its centre 1.0 view above, on the same glide; the second picture fades in over the first half of q, the first fades out over the second, each on cubic-bezier(0.4, 0.25, 0.2, 1); a gauge across the same seam runs its 3 px tick q × (bar − tick − 18 px). Scroll back and everything plays backwards. Under 768 px of root the slides stack and nothing pins. From Brimwater's pond margin, Mardle's quiet room and Quarrow's bottling bench.
Fa per te?
Ideale per
- Una fascia che tiene la vista mentre le slide scivolano di lato
- Un racconto di viaggio, architettura o editoriale in pochi capitoli
- Foto che cambiano lungo una giuntura mentre la fila si muove
Non per
- Gli schermi stretti, dove le slide si impilano
- Chi non ama uno scroll catturato da una fascia fissata













