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
docs: the Key parameters rows of Text & Typography, 3D & Advanced and Ambient & Background give the values behind each choice, checked against the demos' code (durations, distances, sizes, speeds in px or seconds instead of bare numbers), and fix the rows that were wrong (Wavy Text's wave height, the cloth's grid, the plume that never moves, the second glow that never breathes the other way, among others)
matinb2d1ed70358c
diff --git a/animations/05-text-typography/glitch-text/README.md b/animations/05-text-typography/glitch-text/README.mdindex 0330edd9..6309d930 100644--- a/animations/05-text-typography/glitch-text/README.md+++ b/animations/05-text-typography/glitch-text/README.md@@ -33,9 +33,9 @@ A small JS loop re-triggers the animation and nudges the element's `translateX`## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Color split | Medium | How far the red and cyan copies sit from the word: small is 2px, medium 4px and large 8px |+| Color split | Medium | How far the red and cyan copies sit from the word: small is 2px, medium 4px and large 8px, and each copy casts a shadow in its own color as far again beyond it || Speed | Normal | How long the strips take to run through their pattern: slow is 3.8s, normal 2.4s and fast 1.4s; shorter looks more frantic |-| Glitch strength | Medium | How hard the word shakes and how often the strips reshuffle: mild, medium or strong |+| Glitch strength | Medium | How hard the word shakes and how often the strips reshuffle: about every quarter second the word jumps up to 1.8px to either side at mild, 3.6px at medium and 5.4px at strong, and the strips jump to a random point in their pattern about 1.5, 2.5 or 3 times a second || Glitches only on hover | off | Holds the word still until you point at it; on touch screens a tap starts and stops it || Your text | GLITCH | The word that glitches, up to 12 letters, shown in capitals |diff --git a/animations/05-text-typography/handwriting-draw/README.md b/animations/05-text-typography/handwriting-draw/README.mdindex 3c93e46e..1b3ab640 100644--- a/animations/05-text-typography/handwriting-draw/README.md+++ b/animations/05-text-typography/handwriting-draw/README.md@@ -43,7 +43,7 @@ function frame(ts) {| Word | hello | Which word is written: hello is one stroke, thanks is two (the word, then the cross on the t) and hi there is four (hi, the dot, there, the cross) || Pen speed | Normal | How far the pen travels in a second: slow is 200 units, normal 400 and fast 800, where a small letter is 28 units tall; a word takes about 1 to 5 seconds || Ink color | Blue | The color of the ink, and of the pen |-| Pen size | Medium | How wide the line is: fine is 1.1 units, medium 1.8 and bold 2.8 |+| Pen size | Medium | How wide the line is: fine is 1.1 units, medium 1.8 and bold 2.8, where a small letter is 28 units tall || Shows the pen | on | A small pen rides on the tip of the line and lifts between strokes |## Production notesdiff --git a/animations/05-text-typography/highlighter-sweep/README.md b/animations/05-text-typography/highlighter-sweep/README.mdindex d8474f6e..25cb86a1 100644--- a/animations/05-text-typography/highlighter-sweep/README.md+++ b/animations/05-text-typography/highlighter-sweep/README.md@@ -49,7 +49,7 @@ Replay first drops every band back to nothing with transitions switched off for|-----------|---------|--------|| Marker color | Yellow | The color of the bands: yellow, pink, green, blue or orange, all light enough for the dark words to stay easy to read || Speed | Normal | How long the marker takes to cross one phrase: slow is 1300ms, normal 700ms and fast 400ms, with a 250ms pause between phrases |-| How much it covers | Whole words | Whole words covers the letters from just under their tops; Lower half covers only the bottom of the letters, like a thick underline |+| How much it covers | Whole words | Whole words covers the letters from just under their tops, with the band starting 12% of the font size below the top of the text; Lower half starts it 62% down, so it covers only the bottom of the letters, like a thick underline |## Production notes- **The background-size version**: a single `<mark>` with `background: linear-gradient(var(--marker), var(--marker)) no-repeat; background-size: 0% 100%`, `box-decoration-break: clone` and a transition on `background-size` handles line wraps with no splitting at all. It is the shortest code, but `background-size` is repainted on every frame; the transform version here stays on the compositor.diff --git a/animations/05-text-typography/kinetic-typography/README.md b/animations/05-text-typography/kinetic-typography/README.mdindex 774b7bae..b55f99af 100644--- a/animations/05-text-typography/kinetic-typography/README.md+++ b/animations/05-text-typography/kinetic-typography/README.md@@ -56,7 +56,7 @@ The Speed setting is a CSS custom property used in every `calc()`; the timers di## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Speed | Normal | The pace of the whole sequence: slow plays it at 0.6× speed, normal at 1× and fast at 1.7×; entrances, holds and exits all scale together |+| Speed | Normal | The pace of the whole sequence: slow plays it at 0.6× speed, normal at 1× and fast at 1.7×; entrances, holds and exits all scale together, and at normal entrances take 400 to 700ms, holds 0.9 to 2.2 seconds and exits 300 to 500ms |## Production notes- **Copy-first choreography**: the motion should be chosen for the words, not the other way around. Soft/gentle words dissolve; heavy words slam in; fragile words flutter. Generic enters and exits applied uniformly undermine the whole technique.diff --git a/animations/05-text-typography/neon-flicker/README.md b/animations/05-text-typography/neon-flicker/README.mdindex 049edea5..e388f7fa 100644--- a/animations/05-text-typography/neon-flicker/README.md+++ b/animations/05-text-typography/neon-flicker/README.md@@ -43,9 +43,9 @@ The sign is two copies of the same letters stacked in one grid cell. The bottom| Parameter | Default | Effect ||-----------|---------|--------|| Color | Pink | The color of the tubes, their glow and the wash on the wall |-| How often it flickers | Normal | Calm: two short bursts in a 9 second cycle. Normal: four bursts in 7 seconds. Busy: seven bursts in 6 seconds, one of them a longer drop out |+| How often it flickers | Normal | Calm: two short bursts in a 9 second cycle. Normal: four bursts in 7 seconds. Busy: six bursts in 6 seconds, one of them a longer drop out of about 0.4 seconds || Broken letter | on | One letter a little past the middle of the word buzzes and drops out on its own cycle |-| Glow size | Medium | How far the light spreads: small, medium or large sets of glow layers |+| Glow size | Medium | How far the light spreads: small, medium or large sets of glow layers, whose widest blur is 0.12 times the font size at small, 0.42 at medium and 1.1 at large || Frame around the word | on | Adds a rounded tube border that glows and flickers with the letters || Your text | OPEN | The word on the sign, up to 10 letters, with spaces at its ends dropped; it shrinks to fit the stage, and an emptied field goes back to OPEN |diff --git a/animations/05-text-typography/rotate-word-carousel/README.md b/animations/05-text-typography/rotate-word-carousel/README.mdindex ca19ebd6..20309c19 100644--- a/animations/05-text-typography/rotate-word-carousel/README.md+++ b/animations/05-text-typography/rotate-word-carousel/README.md@@ -75,8 +75,8 @@ setInterval(() => {## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Slide direction | Up | Up and down move the word like a slot machine; left and right slide it sideways |-| Speed | Normal | How long each slide takes: slow is 650ms, normal 400ms and fast 250ms |+| Slide direction | Up | Up and down move the word like a slot machine; left and right slide it sideways; each slide moves the word 110% of its own height or width while it fades out or in |+| Speed | Normal | How long each slide takes, once for the word going out and again for the next one coming in: slow is 650ms, normal 400ms and fast 250ms || Time on each word | Medium | How long each word stays: short is 1200ms, medium 2000ms and long 3200ms; 1.5 to 3 seconds is the readable range || Different color per word | on | A new color for each word draws attention to the change; one color is calmer || Your sentence | We craft for | The part of the headline that stays still |diff --git a/animations/05-text-typography/scramble-text/README.md b/animations/05-text-typography/scramble-text/README.mdindex 64815058..44534fe1 100644--- a/animations/05-text-typography/scramble-text/README.md+++ b/animations/05-text-typography/scramble-text/README.md@@ -60,7 +60,7 @@ function scramble(el, targetText) {## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Random characters | Symbols | What the letters flicker through: symbols look like hacking, Japanese characters look like the falling code in science-fiction films, and the alphabet or numbers look like a password being cracked |+| Random characters | Symbols | What the letters flicker through: symbols look like hacking, Japanese characters look like the falling code in science-fiction films, and the alphabet or numbers look like a password being cracked; mixed draws from letters, numbers and symbols together || Delay between letters | Medium | The wait between one letter locking and the next: short is 40ms, medium 70ms and long 120ms; it sets how fast the decoding travels || Flicker speed | Normal | How often the random characters change: slow every 65ms, normal every 40ms and fast every 25ms; faster looks more chaotic || Your text | DECODE THE MESSAGE | The text that is decoded, shown in capitals |diff --git a/animations/05-text-typography/text-clip-path-reveal/README.md b/animations/05-text-typography/text-clip-path-reveal/README.mdindex 31b3440e..2bf3564c 100644--- a/animations/05-text-typography/text-clip-path-reveal/README.md+++ b/animations/05-text-typography/text-clip-path-reveal/README.md@@ -59,7 +59,7 @@ All resolve to `inset(0 0% 0 0)` when revealed — a single `.revealed` class ha| Starts from | Left | The side each line's wipe begins on: left follows the reading order, right suits right-to-left scripts, top works for display headings || Speed | Normal | How long each line takes to uncover: slow is 1100ms, normal 700ms and fast 400ms || Delay between lines | Medium | The wait before each next line starts: short is 100ms, medium 180ms and long 300ms; 100 to 200ms reads as a natural cascade |-| Feel | Smooth | Smooth slows to a stop, which feels physical; Gentle eases in and out; Even feels mechanical |+| Feel | Smooth | Smooth slows to a stop, which feels physical; Gentle eases in and out; Even keeps one steady pace, which feels mechanical || Your lines | Good design / Is honest / Always. | The headline, one line per row |## Production notesdiff --git a/animations/05-text-typography/text-gradient-animation/README.md b/animations/05-text-typography/text-gradient-animation/README.mdindex fa2d5dc9..2b8ad6d7 100644--- a/animations/05-text-typography/text-gradient-animation/README.md+++ b/animations/05-text-typography/text-gradient-animation/README.md@@ -58,7 +58,7 @@ el.style.backgroundImage = `linear-gradient(${angle}deg, ${c1}, ${c2})`;| Parameter | Default | Effect ||-----------|---------|--------|| Gradient | Flowing | Flowing slides the colors sideways, Spinning turns them like a color wheel, Diagonal slides slanted bands, Two colors flows between two colors of your choice |-| Speed | Normal | How long one full pass takes: slow is 6.4s, normal 4s and fast 2.4s; slower feels calm, faster feels lively |+| Speed | Normal | How long one loop takes: slow is 6.4s, normal 4s and fast 2.4s; in each loop the gradient, three times as wide as the text, slides left by twice its own width, and a spinning one turns once; slower feels calm, faster feels lively || First color | Blue | With Two colors, the color the gradient starts and ends with || Second color | Purple | With Two colors, the color in the middle || Your text | Flow | The text the colors flow through |diff --git a/animations/05-text-typography/text-morphing/README.md b/animations/05-text-typography/text-morphing/README.mdindex b01cba25..e9af7d60 100644--- a/animations/05-text-typography/text-morphing/README.md+++ b/animations/05-text-typography/text-morphing/README.md@@ -65,7 +65,7 @@ function afterExit() {## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Slide direction | Up | Up and down look like a slot machine; left and right slide sideways |+| Slide direction | Up | Up and down look like a slot machine, each letter sliding its own height; left and right slide sideways, 80% of a letter's width; the letters fade out and in as they slide || Delay between letters | None | The gap between one letter moving and the next: none, short (30ms) or long (60ms); none moves every letter together, a delay makes a wave || Speed | Normal | How long each letter takes to slide: slow is 650ms, normal 400ms and fast 250ms || Time on each word | Medium | How long each word stays: short is 900ms, medium 1500ms and long 2400ms; it must be long enough to read |diff --git a/animations/05-text-typography/text-particles/README.md b/animations/05-text-typography/text-particles/README.mdindex bd6e1d41..9bb286e2 100644--- a/animations/05-text-typography/text-particles/README.md+++ b/animations/05-text-typography/text-particles/README.md@@ -43,7 +43,7 @@ The keyboard pushes the dots too: Tab focuses a see-through layer over the stage## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Dot size | Medium | How far apart the dots sit: small is 3 px, medium 4.2 and large 6, scaled with the word between 0.75 and 1.25 times; each dot is narrower than that step, so neighbors never touch. The dots are counted at the small size: past 2,000 on a phone or 6,000 on a larger screen, every size is spread out by the same factor, so the three stay apart |+| Dot size | Medium | How far apart the dots sit: small is 3 px, medium 4.2 and large 6 for a 180 px font, scaled with the word between 0.75 and 1.25 times; each dot is about three quarters of that step wide, so neighbors never touch. The dots are counted at the small size: past 2,000 on a phone or 6,000 on a larger screen, every size is spread out by the same factor, so the three stay apart || How far they scatter | Medium | The pointer's reach: short is 0.28 of the font size, medium 0.42 and far 0.65, counting the font as at least 120 px; a still pointer opens a gap whose radius is about 0.7 of the reach || Colors | Sunset | The colors across the word, in 32 steps: Sunset runs from pink to gold, Cool from teal to purple, Rainbow through seven colors and White from white to pale gray; the glow behind the word matches || How fast they come back | Normal | The spring and the share of its speed a dot keeps each step: slow is 0.022 and 0.87, normal 0.045 and 0.82, fast 0.09 and 0.76. A dot pushed 100 px away is home in about 1.4, 1 or 0.8 seconds, after swinging about a sixth of the way past it |diff --git a/animations/05-text-typography/wavy-text/README.md b/animations/05-text-typography/wavy-text/README.mdindex 243bc8b1..973a83da 100644--- a/animations/05-text-typography/wavy-text/README.md+++ b/animations/05-text-typography/wavy-text/README.md@@ -40,7 +40,7 @@ Only `transform` animates, so the effect stays on the compositor and runs at 60f## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Wave height | Medium | How far each letter travels: low is 8px, medium 16px and high 28px; larger makes a taller wave |+| Wave height | Medium | How high each letter rises above its resting place: low is 8px, medium 16px and high 28px, and it sinks 0.6 times as far below it; larger makes a taller wave || Speed | Normal | How long one rise and fall takes: slow is 2.6s, normal 1.6s and fast 1s || Delay between letters | Medium | The gap between neighboring letters: short is 30ms, medium 60ms and long 120ms; longer delays stretch the wave || Your text | Wavy | The word that waves, up to 14 letters |diff --git a/animations/06-3d-advanced/2-5d-pseudo-3d/README.md b/animations/06-3d-advanced/2-5d-pseudo-3d/README.mdindex cdffde37..e032751e 100644--- a/animations/06-3d-advanced/2-5d-pseudo-3d/README.md+++ b/animations/06-3d-advanced/2-5d-pseudo-3d/README.md@@ -59,7 +59,7 @@ The scene also takes keyboard focus, and the keys stand in for the pointer: keyb## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Camera movement | Medium | How far the nearest layer travels as the pointer crosses the scene from one side to the other: small is 20px, medium 40px and large 70px (half that each way from the middle); the farthest layer moves 5% of that |+| Camera movement | Medium | How far the nearest layer travels as the pointer crosses the scene from one side to the other: small is 20px, medium 40px and large 70px (half that each way from the middle), and 40% as far from top to bottom; the farthest layer moves 5% of that || Layer labels | off | Labels each layer with the share of the camera movement it follows, from 5% for the sky to 100% for the ground |## Production notesdiff --git a/animations/06-3d-advanced/3d-model-orbit/README.md b/animations/06-3d-advanced/3d-model-orbit/README.mdindex 3103229f..4522d35d 100644--- a/animations/06-3d-advanced/3d-model-orbit/README.md+++ b/animations/06-3d-advanced/3d-model-orbit/README.md@@ -65,11 +65,11 @@ rx += SPEED_X * 0.01 * step * (Math.sin(clock * 0.0003) * 0.5 + 0.5); // the fo## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Shape | Cube | The object that is drawn: a cube, a sphere, a ring or a four-sided pyramid |-| Movement | Spins | Spins turns it by itself; Follows the pointer turns it to face your pointer or finger |-| Speed | Normal | How fast it spins: slow is about 17°, normal 27° and fast 45° a second, on any screen |+| Shape | Cube | The object that is drawn: a cube, a sphere, a ring or a pyramid of four triangles |+| Movement | Spins | Spins turns it by itself; Follows the pointer turns it to face your pointer or finger, up to 86° to either side and 69° up or down with the pointer at the stage's edges |+| Speed | Normal | How fast it spins: slow is about 17°, normal 27° and fast 45° a second, on any screen; while it tumbles, the forward roll swings between still and a quarter of that over about 21 seconds || Tumbles as it spins | on | Also rolls it forward, at a speed that rises and falls, so the top and bottom come into view |-| Distance | Medium | How far away the camera is: close looks bigger, far looks smaller; the lens stays the same |+| Distance | Medium | How far away the camera is, from the shape's center: close is about 2.3 times the shape's width, medium 2.7 times and far 3.8 times, so close looks bigger; the lens stays the same, a 45° view from top to bottom || Color | Blue | The object's color; the lighting adds the shading and the highlight || Edges only | off | Draws the edges of the triangles the shape is made of, instead of its lit surface |diff --git a/animations/06-3d-advanced/ascii-halftone/README.md b/animations/06-3d-advanced/ascii-halftone/README.mdindex 4fa4f418..8ccee969 100644--- a/animations/06-3d-advanced/ascii-halftone/README.md+++ b/animations/06-3d-advanced/ascii-halftone/README.md@@ -69,7 +69,7 @@ The characters are drawn with the site font. Its glyphs are not all the same wid## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Drawn with | Letters | Letters gives each cell one of ten characters, from a space to a hash sign, by its brightness; dots gives it one of twelve dot sizes, from none to one that fills the cell |+| Drawn with | Letters | Letters gives each cell one of ten characters, from a space to a hash sign, by its brightness; dots gives it one of twelve dot sizes, from none to one that fills the cell, in even steps of area || Cell size | Medium | The height of a cell: small is 8px, medium 11px and large 16px, and phones use 10, 14 and 20px; letter cells are 0.7 as wide as they are tall, dot cells are square || Colors | One color | One color paints every mark mint green, or near-black on paper; full color gives each mark the color of its spot in the picture || Shows the original picture | off | Draws the moving picture at 40% under the marks, so you can see what each mark stands for |diff --git a/animations/06-3d-advanced/canvas-particle-effect/README.md b/animations/06-3d-advanced/canvas-particle-effect/README.mdindex 8932e504..82610247 100644--- a/animations/06-3d-advanced/canvas-particle-effect/README.md+++ b/animations/06-3d-advanced/canvas-particle-effect/README.md@@ -85,10 +85,10 @@ Stroking each link on its own costs one draw call per line, thousands a frame; g## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Pointer effect | Push | What the pointer or a finger does to dots within 120px: pushes them away, pulls them in, or nothing |+| Pointer effect | Push | What the pointer or a finger does to dots within 120px: pushes them away, pulls them in, or nothing, more strongly the closer they are (a dot 40px away speeds up by about 36px a second every second), up to twice the fastest drift speed; a dot keeps the speed it gains || Number of particles | Medium | Few is 250, medium 500 and many 800 dots on computers; tablets draw 60, 90 and 120, and phones 30, 45 and 60, which keeps them smooth || Link distance | Medium | How close two dots must be to join with a line: short is 70px, medium 100px and long 150px; none draws no lines |-| Speed | Normal | How fast the dots drift: slow is 0.5, normal 0.8 and fast 1.3 (the fastest dots' pixels for every sixtieth of a second, on any screen); slow feels calm, fast looks busy |+| Speed | Normal | How fast the dots drift: slow is 30px, normal 48px and fast 78px a second for the fastest dots, and the slowest go a fifth of that, on any screen; slow feels calm, fast looks busy || Color | Blue | The color of the dots and lines || Trails | off | Each dot leaves a fading streak, because the canvas is only partly cleared between frames |diff --git a/animations/06-3d-advanced/carousel-3d/README.md b/animations/06-3d-advanced/carousel-3d/README.mdindex ca6f288d..2c0c9347 100644--- a/animations/06-3d-advanced/carousel-3d/README.md+++ b/animations/06-3d-advanced/carousel-3d/README.md@@ -46,7 +46,7 @@ Because the throw is the pointer's speed times the easing's time constant, the e## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Number of cards | 8 | How many cards stand in the ring: 6, 8 or 12. More cards make a wider ring, so each card is drawn smaller to fit the box |+| Number of cards | 8 | How many cards stand in the ring: 6, 8 or 12, with a gap of 12% of a card between neighbors. More cards make a wider ring; where it would not fit, as with 12 cards on a phone, the cards are drawn smaller to keep it within 94% of the box's width || Seen from above | on | Tilts the ring back 14 degrees, so the cards behind show above the front ones; off shows the ring straight on || Spins by itself | off | The ring turns 12 degrees a second, waits while you drag and starts again a moment after it settles; under reduced motion it steps one card every three seconds instead |diff --git a/animations/06-3d-advanced/chromatic-aberration/README.md b/animations/06-3d-advanced/chromatic-aberration/README.mdindex e483c5a4..0c7d34b5 100644--- a/animations/06-3d-advanced/chromatic-aberration/README.md+++ b/animations/06-3d-advanced/chromatic-aberration/README.md@@ -49,7 +49,7 @@ function applyOffset(amount, angleDeg) {## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Movement | Pulse | Pulse widens and narrows the split every 2 seconds; Glitch jumps it briefly every 4 seconds; None keeps it still |+| Movement | Pulse | Pulse widens the split to 1.8 times and back every 2 seconds; Glitch jumps it twice near the end of every 4 seconds, for 80ms each, to about 3 times the split and then 2 times on the other side; None keeps it still || Color split | Medium | How far the red and blue copies sit from the word: small is 2px, medium 4px and large 8px; above about 6px the word gets hard to read || Direction | Slanted | Sideways splits the colors left and right; Slanted splits them at 30°; Up and down splits them vertically || Soft color edges | off | Blurs the red and blue copies by 2px, which looks more like a lens than a digital shift |diff --git a/animations/06-3d-advanced/cloth-simulation/README.md b/animations/06-3d-advanced/cloth-simulation/README.mdindex c5fcd121..a832c84a 100644--- a/animations/06-3d-advanced/cloth-simulation/README.md+++ b/animations/06-3d-advanced/cloth-simulation/README.md@@ -85,10 +85,10 @@ for (let r = 0; r < ROWS; r++) {| Parameter | Default | Effect ||-----------|---------|--------|| Hangs from | Two corners | Pins the top two corners, the whole top edge, one corner, or nothing, in which case the cloth falls to the floor |-| Wind | Medium | How hard the wind blows; it rises and falls on its own: light is 0.2, medium 0.5 and strong 1.2 |+| Wind | Medium | How hard the wind blows; it rises and falls on its own over a 12.6-second cycle: at its peak it speeds points up sideways by about 30px a second every second at light, 75px at medium and 180px at strong, and part of the time it blows back at up to about half that || Stiffness | Medium | How many times each step, sixty a second, the links are pulled back to length: stretchy is 2, medium 4 and stiff 8 |-| Gravity | Normal | How heavy the cloth is: light is 0.06, normal 0.12 and heavy 0.2 |-| Detail | Medium | How many points the cloth has: low is 16 × 12, medium 24 × 18 and high 40 × 30; phones start at low |+| Gravity | Normal | How heavy the cloth is: gravity speeds a falling point up by about 17px a second every second at light, 35px at normal and 58px at heavy |+| Detail | Medium | How many squares the cloth's grid has, with a point at every corner: low is 16 × 12, medium 24 × 18 and high 40 × 30; phones start at low || Shows the points | off | Marks every point of the grid, with the pinned ones in red |## Production notesdiff --git a/animations/06-3d-advanced/flocking/README.md b/animations/06-3d-advanced/flocking/README.mdindex bd3eb0b2..c07cd317 100644--- a/animations/06-3d-advanced/flocking/README.md+++ b/animations/06-3d-advanced/flocking/README.md@@ -68,12 +68,12 @@ function advance(k) { const n = Math.max(1, Math.ceil(k - 0.05)); for (let i = 0| Parameter | Default | Effect ||-----------|---------|--------|| Flock size | Medium | How many birds fly: small is 70, medium 150 and large 280; phones fly 35, 70 and 130 |-| How close they fly | Normal | The room each bird keeps around it and how hard it follows its neighbors: loose keeps 32px and follows gently, normal keeps 22px, tight keeps 15px and follows hard |+| How close they fly | Normal | The room each bird keeps around it and how hard it follows its neighbors: loose keeps 32px and follows gently, normal keeps 22px, tight keeps 15px and follows hard. The pulls toward their heading and their middle weigh 0.7 and 0.3 at loose, 1 and 0.5 at normal and 1.2 and 0.9 at tight, against 2 for keeping apart; the room shrinks in proportion on a stage under 380px tall or wide, to 65% at the least || Flees the pointer | on | Birds within 90px of the pointer or a finger steer straight away from it |-| Speed | Normal | The top speed, in pixels per 60th of a second: slow is 1.3, normal 2 and fast 3; no bird flies slower than 55% of it |+| Speed | Normal | The top speed, in pixels per 60th of a second: slow is 1.3, normal 2 and fast 3 (78, 120 and 180px a second); no bird flies slower than 55% of it. It shrinks in proportion on a stage under 380px tall or wide, to 65% at the least || Shows one bird's view | off | Rings one bird with the 50px radius it looks within and the dashed room it keeps, and links it to every neighbor it follows |-All distances and speeds shrink by up to a third on small stages, such as on phones.+All distances and speeds shrink by up to 35% on small stages, such as on phones.## Production notes- **Every bird checks every other bird**, so the work grows with the square of the flock: 280 birds is about 78,000 checks a move, still under 2 ms. For thousands of birds, put them in a grid of cells the size of the view radius and check only the nine cells around each bird, or move the flock on the graphics chip (three.js has a well-known GPU birds example).diff --git a/animations/06-3d-advanced/fluid-simulation/README.md b/animations/06-3d-advanced/fluid-simulation/README.mdindex 083c6e1d..69b270ca 100644--- a/animations/06-3d-advanced/fluid-simulation/README.md+++ b/animations/06-3d-advanced/fluid-simulation/README.md@@ -57,7 +57,7 @@ vec2 ballPosition(int i, float t) {|-----------|---------|--------|| Melting | Medium | How far apart two blobs start to melt together: a little is 0.03, medium 0.08 and a lot 0.15 of the stage height; a lot gives thick, soft necks || Number of blobs | Medium | Few is 3, medium 5 and many 8 blobs; each one adds work for every pixel |-| Speed | Normal | How fast the blobs move on their paths: slow is 0.5, normal 0.8 and fast 1.3 |+| Speed | Normal | How fast the blobs move on their paths: at slow each blob swings from side to side and back every 3 to 10 seconds, at normal every 2 to 6 seconds and at fast every 1.2 to 3.7 seconds, each at its own pace || Blob size | Medium | Each blob's radius: small is 9%, medium 14% and large 20% of the stage height || Color | Blue | The color of the liquid || Glow | on | Adds a soft halo that fades out around the liquid |diff --git a/animations/06-3d-advanced/glassmorphism-animated/README.md b/animations/06-3d-advanced/glassmorphism-animated/README.mdindex 7f190b39..613db568 100644--- a/animations/06-3d-advanced/glassmorphism-animated/README.md+++ b/animations/06-3d-advanced/glassmorphism-animated/README.md@@ -82,7 +82,7 @@ Three CSS properties create the glass effect:| Parameter | Default | Effect ||-----------|---------|--------|| Frost | Medium | How strongly the glass blurs what is behind it: light is 6px, medium 12px and heavy 20px; off shows the cards with no blur, to compare |-| Tint strength | Medium | How much color the glass adds: faint is 6%, medium 12% and strong 25% |+| Tint strength | Medium | How much color the glass adds: faint fills it with the tint color at 6% strength, medium at 12% and strong at 25% || Speed | Normal | How long the colors behind take to drift through one path: slow is 13s, normal 8s and fast 5s || Tint color | Blue | The color of the glass || Breathing frost | on | The middle card's blur grows from 8px to 20px and back every 4 seconds |diff --git a/animations/06-3d-advanced/gpgpu-particle-system/README.md b/animations/06-3d-advanced/gpgpu-particle-system/README.mdindex 3fe21536..ebfe3a78 100644--- a/animations/06-3d-advanced/gpgpu-particle-system/README.md+++ b/animations/06-3d-advanced/gpgpu-particle-system/README.md@@ -90,7 +90,7 @@ void main() {|-----------|---------|--------|| Movement | Flow | Flow follows a shifting field of currents; Swirl circles the middle; Attract pulls everything toward the middle; Orbit sweeps the particles round in rings || Number of particles | 65,000 | 16,000, 65,000 or 100,000 particles, one pixel each of a texture 128, 256 or 320 pixels square; phones start with 16,000 |-| Speed | Normal | How hard the rule pushes for every sixtieth of a second: slow is 0.35, normal 0.6 and fast 1 |+| Speed | Normal | How hard the rule pushes for every sixtieth of a second: slow pushes 0.35 times as hard as fast and normal 0.6 times; under Flow a typical particle then crosses about 11%, 16% or 22% of the stage a second || Color | One color | One blue, a color from each particle's speed, or colors that slowly shift || Trails | off | Fades the last picture instead of clearing it, so each particle leaves a streak |diff --git a/animations/06-3d-advanced/holographic-card/README.md b/animations/06-3d-advanced/holographic-card/README.mdindex e78556d1..4cd43b9a 100644--- a/animations/06-3d-advanced/holographic-card/README.md+++ b/animations/06-3d-advanced/holographic-card/README.md@@ -83,7 +83,7 @@ The card also takes keyboard focus, and the keys stand in for the pointer. Keybo|-----------|---------|--------|| Foil pattern | Smooth | Smooth shows the rainbow as soft bands; Glitter lets it through scattered dots and Lines through fine diagonal lines, like the sparkle and etched foils of real cards || How far it tilts | Medium | How far the card leans at its edges: gentle is 6°, medium 12° and strong 20°; much more and the text on the card gets hard to read mid-tilt |-| Glare | Soft | The spot of light under the pointer: off, soft (a little over half strength) or bright; a copy at a quarter of that strength lights the text panels |+| Glare | Soft | The spot of light under the pointer: off, soft (55% strength, a little over half) or bright (full strength); a copy at a quarter of that strength lights the text panels || Shows the layers | off | Turns the card to one side and spreads its four layers apart, so the picture, the foil, the glare and the text panels show one above the other |## Production notesdiff --git a/animations/06-3d-advanced/image-distortion-hover/README.md b/animations/06-3d-advanced/image-distortion-hover/README.mdindex 17165d12..dcaef9ef 100644--- a/animations/06-3d-advanced/image-distortion-hover/README.md+++ b/animations/06-3d-advanced/image-distortion-hover/README.md@@ -60,8 +60,8 @@ The picture also takes keyboard focus, and the keys stand in for the pointer: ke| Parameter | Default | Effect ||-----------|---------|--------|| Effect | Ripple | Ripple sends rings out from the pointer; Push bulges the picture outward; Liquid swirls it; Pixels breaks it into squares |-| Strength | Medium | How far the picture bends: gentle is 4, medium 8 and strong 14; stronger looks more dramatic but harder to read |-| Size | Medium | How wide an area bends: small is 15%, medium 25% and large 40% of the picture's height |+| Strength | Medium | How far the picture bends: Ripple shifts it by up to 2% of its width and height at gentle, 4% at medium and 7% at strong; Push shifts it 1.6 times as far and Liquid 0.6 times, and Pixels makes blocks up to 1%, 1.7% or 2.9% of the picture's width and height. Stronger looks more dramatic but harder to read |+| Size | Medium | How wide an area bends: a circle around the pointer whose radius is 15% of the picture's height at small, 25% at medium and 40% at large; the bending fades from full at the pointer to none at its edge || Fade-out speed | Normal | How fast the bending fades after the pointer leaves: each second it loses about three fifths of its strength at slow, about four fifths at normal and nine tenths at fast || Moving ripples | on | With Ripple, the rings keep moving outward while the pointer rests; off, they stand still |diff --git a/animations/06-3d-advanced/liquid-glass/README.md b/animations/06-3d-advanced/liquid-glass/README.mdindex aa49385e..5cd77fd9 100644--- a/animations/06-3d-advanced/liquid-glass/README.md+++ b/animations/06-3d-advanced/liquid-glass/README.md@@ -64,10 +64,10 @@ Show me glides along three legs (to the left end, across to the right end and ba## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| How much it bends | Medium | The deepest shift, at the very edge, as a share of the rim's width: subtle 25%, medium 42% and strong 60%. Past half the rim folds into a thin mirrored band, as the edge of thick glass does |+| How much it bends | Medium | The rim's deepest shift, at the very edge, as a share of the rim's width (35% of the panel's height): subtle 25%, medium 42% and strong 60%, and a slight pull toward the middle, which magnifies the whole panel a little, adds 15% to it. Past half the rim folds into a thin mirrored band, as the edge of thick glass does. Other browsers show a faint white glow inside the rim instead, blurred over 12, 23 or 36px || Frost | Clear | How much the backdrop is blurred: clear none, light 1.5 and frosted 4 pixels where the glass bends; 3, 8 and 16 pixels for the frosted glass of other browsers || Tint | White | The color the glass adds, mixed in at 9% for white and 20% for the other colors |-| Shape | Card | Card: 1.6 times as wide as tall, corners a third of its height; pill: 2.7 times as wide as tall with round ends; circle: a round lens. The card is 30% of the stage's width, from 150 to 280 pixels |+| Shape | Card | Card: 1.6 times as wide as tall, corners a third of its height; pill: 2.7 times as wide as tall with round ends; circle: a round lens. The card is 30% of the stage's width, from 150 to 280 pixels (the pill 1.12 times as wide and the circle 0.68 times), and no shape is taller than 55% of the stage || Shows the bend map | off | Lays the displacement map over the glass: red is the sideways shift, green the shift up or down, gray none |## Production notesdiff --git a/animations/06-3d-advanced/morphing-blob/README.md b/animations/06-3d-advanced/morphing-blob/README.mdindex fb87e413..f9d27b86 100644--- a/animations/06-3d-advanced/morphing-blob/README.md+++ b/animations/06-3d-advanced/morphing-blob/README.md@@ -75,9 +75,9 @@ shape of the stage.## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Gooeyness | Medium | How much the circles are blurred before the edge is sharpened again: low is 6, medium 10 and high 16; higher melts circles from farther apart |+| Gooeyness | Medium | How much the circles are blurred before the edge is sharpened again: low is 6, medium 10 and high 16, measured in a drawing 360 units across whose circles are 26 to 52 units in radius; higher melts circles from farther apart || Number of blobs | Medium | Few is 4, medium 6 and many 9 circles, counting the drop that follows the pointer |-| Speed | Normal | How fast the circles drift: slow is 0.6, normal 1 and fast 1.6 times |+| Speed | Normal | How fast the circles drift: slow is 0.6, normal 1 and fast 1.6 times; at normal each circle swings back and forth along its path once every 6 to 16 seconds, each at its own rate |## Production notes- **Filter performance is the gotcha.** SVG filters rasterize the filter region every frame on the CPU/GPU compositor; a large blurred area over a big viewport can drop frames on mobile. Keep the filtered `<g>` region as small as the design allows, cap `stdDeviation`, and reduce blob count on small screens. Test on a mid-range phone, not just desktop.diff --git a/animations/06-3d-advanced/noise-based-motion/README.md b/animations/06-3d-advanced/noise-based-motion/README.mdindex 6491a9bc..30591d6f 100644--- a/animations/06-3d-advanced/noise-based-motion/README.md+++ b/animations/06-3d-advanced/noise-based-motion/README.md@@ -62,9 +62,9 @@ The noise is read along a circle of radius `48 * SCALE`. A tiny circle would see| Parameter | Default | Effect ||-----------|---------|--------|| Shape | Field of dots | A field of dots that sway, or one blob whose outline ripples |-| Pattern size | Medium | How big the noise's patterns are: large moves big areas together, small looks busy and fine |-| Speed | Normal | How fast the noise moves along: slow is 0.3, normal 0.5 and fast 0.8. Every sixtieth of a second the noise moves on by 0.01 times this, so the speed is the same on every screen |-| Wobble | Medium | How far each dot, or the blob's edge, moves: small is 6px, medium 12px and large 20px |+| Pattern size | Medium | How big the noise's patterns are: one swirl of the noise is about 250px across at large, 125px at medium and 60px at small, and the blob's edge has about two, three or five ripples; large moves big areas together, small looks busy and fine |+| Speed | Normal | How fast the noise moves along: the pattern drifts one swirl's width in about 5.6 seconds at slow, 3.3 at normal and 2.1 at fast, which with medium patterns is about 22px, 38px and 60px a second |+| Wobble | Medium | How far each dot, or the blob's edge, moves: small is 6px, medium 12px and large 20px from each dot's place, and the blob's edge moves in and out by up to twice that || Space between dots | Medium | The distance between dots in the field: wide is 64px, medium 48px and tight 32px; smaller stages draw fewer dots || Color | Blue | The color of the dots or the blob |diff --git a/animations/06-3d-advanced/physics-2d/README.md b/animations/06-3d-advanced/physics-2d/README.mdindex 8a83e379..f03262a6 100644--- a/animations/06-3d-advanced/physics-2d/README.md+++ b/animations/06-3d-advanced/physics-2d/README.md@@ -67,7 +67,7 @@ function settle() { awake = true; calm = 0; for (let i = 0; i < 900 && awake; i+## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Gravity | Earth | How hard the balls are pulled down. Earth adds the box's height divided by 1,000 to a ball's downward speed every 60th of a second, so a ball falls the whole box in about three quarters of a second; the Moon is a fifth of that and Heavy twice as much |+| Gravity | Earth | How hard the balls are pulled down. Earth adds the box's height divided by 1,000 to a ball's downward speed every 60th of a second, so a ball falls the whole box in about three quarters of a second; the Moon pulls a fifth as hard, a fall of about 1.6 seconds, and Heavy twice as hard, about half a second || Bounciness | Medium | The share of its closing speed a ball keeps after a hit: low is 0.2, medium 0.5 and high 0.8; a hit slower than 1 pixel per 60th of a second does not bounce || Ball sizes | All the same | One radius for every ball (5.5% of the box's shorter side, between 12 and 22 pixels), or a mix from 0.6 to 1.4 times it, heavier by area || Shows the speed | off | An arrow on each moving ball, 6 pixels long for every pixel it moves in a 60th of a second, at most three radii |diff --git a/animations/06-3d-advanced/scroll-driven-3d-rotation/README.md b/animations/06-3d-advanced/scroll-driven-3d-rotation/README.mdindex d3c241b7..e46d9354 100644--- a/animations/06-3d-advanced/scroll-driven-3d-rotation/README.md+++ b/animations/06-3d-advanced/scroll-driven-3d-rotation/README.md@@ -67,8 +67,8 @@ The demo asks for another frame only while the cube is still catching up, and st## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Turn amount | Normal | How far every pose turns the cube: less is 0.6, normal 1 and more 1.6 times the planned angles; at normal the last pose shows the cube's back |-| Smooth follow | on | The cube closes a tenth of the gap to its pose for every sixtieth of a second, so it glides after the scroll and catches up in the same time on every screen; off, it follows the scroll exactly |+| Turn amount | Normal | How far every pose turns the cube: less is 0.6, normal 1 and more 1.6 times the planned angles (a 90° turn to the side, a 30° forward tilt, and 180° the other way at the end); at normal the last pose shows the cube's back |+| Smooth follow | on | The cube closes a tenth of the gap to its pose for every sixtieth of a second (95% of it in about half a second), so it glides after the scroll and catches up in the same time on every screen; off, it follows the scroll exactly |## Production notes- **CSS Scroll-Driven Animations API** (Chrome 115+): `animation-timeline: scroll()` and `animation-range` can drive CSS transforms directly without JavaScript. The spec covers this natively, but browser support is still catching up for complex choreography.diff --git a/animations/06-3d-advanced/svg-path-animation/README.md b/animations/06-3d-advanced/svg-path-animation/README.mdindex 51e4e9b6..09a60881 100644--- a/animations/06-3d-advanced/svg-path-animation/README.md+++ b/animations/06-3d-advanced/svg-path-animation/README.md@@ -63,7 +63,7 @@ if (fillTog.checked) paths.forEach(path => { path.style.transition = ''; path.cl|-----------|---------|--------|| Drawing | Icon | What is drawn: a house with a star, a flowing signature, or a circle logo || Speed | Normal | How long each line takes to draw: slow is 2400ms, normal 1500ms and fast 900ms; each next line starts after 30% of that |-| Line thickness | Medium | Thin is 1px, medium 2px and thick 4px; thin looks precise, thick looks bold |+| Line thickness | Medium | Thin is 1px, medium 2px and thick 4px with the drawing at its full 400px width, thinner when it shrinks to fit a smaller box; thin looks precise, thick looks bold || Feel | Smooth | Smooth slows at the end, like a hand finishing a stroke; Gentle eases in and out; Even keeps one pace || Line color | Blue | The color of the lines, and of the fill || Starts from the other end | off | Draws each line from its end back to its start |diff --git a/animations/06-3d-advanced/volumetric-smoke/README.md b/animations/06-3d-advanced/volumetric-smoke/README.mdindex d8a70148..70b535d2 100644--- a/animations/06-3d-advanced/volumetric-smoke/README.md+++ b/animations/06-3d-advanced/volumetric-smoke/README.md@@ -65,11 +65,11 @@ Wherever `src` has faded to almost nothing the function returns before the noise## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Thickness | Medium | How dense the smoke is: thin is 0.4, medium 0.7 and thick 1.2; thin looks wispy, thick hides what is behind |-| Speed | Normal | How fast the smoke rises: slow is 0.35, normal 0.6 and fast 1 |+| Thickness | Medium | How dense the smoke is: thin is 0.6 times as dense as medium and thick 1.7 times, so the thickest wisps hide about a third of what is behind at thin, half at medium and three quarters at thick; thin looks wispy |+| Speed | Normal | How fast the smoke rises: its pattern moves about 3% of the box's height a second at slow, 5% at normal and 9% at fast || Detail | Medium | How many steps each ray takes: low is 16, medium 32 and high 64 (48 on phones); fewer steps leave visible stripes || Smoke color | Gray blue | The color of the lit smoke; the shadowed parts are darker shades of it |-| Wind | on | The whole plume drifts slowly to one side |+| Wind | on | The smoke drifts slowly to one side, about 2% of the box's height a second, while the plume stays in place || Fine grain | on | Starts each ray at a slightly random point, which turns the stripes that few steps leave into fine grain |## Production notesdiff --git a/animations/06-3d-advanced/webgl-shader-animation/README.md b/animations/06-3d-advanced/webgl-shader-animation/README.mdindex 1f210bd0..d16e1db7 100644--- a/animations/06-3d-advanced/webgl-shader-animation/README.md+++ b/animations/06-3d-advanced/webgl-shader-animation/README.md@@ -71,7 +71,7 @@ float voronoi(vec2 p) {| Parameter | Default | Effect ||-----------|---------|--------|| Pattern | Plasma | Plasma adds up sine waves into flowing color; Waves bends striped color; Cells splits the plane into cells around moving points; Kaleidoscope mirrors one slice around the middle |-| Speed | Normal | How fast time runs in the pattern: slow is 0.6, normal 1 and fast 1.6 times |+| Speed | Normal | How fast time runs in the pattern: slow is 0.6, normal 1 and fast 1.6 times real time, so the plasma's colors drift once round the rainbow in about 33 seconds at slow, 20 at normal and 12.5 at fast || Reacts to the pointer | off | Each pattern bends around the pointer or a finger in its own way; in Kaleidoscope the pointer sets the number of slices |## Production notesdiff --git a/animations/07-ambient-background/abstract-geometric-motion/README.md b/animations/07-ambient-background/abstract-geometric-motion/README.mdindex 83b44e91..71fd60e9 100644--- a/animations/07-ambient-background/abstract-geometric-motion/README.md+++ b/animations/07-ambient-background/abstract-geometric-motion/README.md@@ -72,7 +72,7 @@ ctx.setLineDash([]);| Parameter | Default | Effect ||-----------|---------|--------|| Pattern | Polygons | Turning polygons, rings spreading from the center, sliding bars, or wavy lines with flowing color |-| Speed | Normal | How fast everything moves: slow is 0.35, normal 0.6 and fast 1; keep it below 1 behind content |+| Speed | Normal | How fast everything moves: the innermost polygon turns once in about 150 seconds at slow, 87 at normal and 52 at fast (the outer ones faster), the rings spread 42, 72 or 120px a second and the bars slide 3, 9 or 24px a second; avoid fast behind content || Number of shapes | Medium | How many polygons, bars or lines: few is 3, medium 6 and many 10 (the Lines pattern draws twice as many); on Rings it sets how many colors the rings use || Colors | Cool | Cool blues, warm ambers, bright neon or grays || Thicker lines | off | Draws the lines 1.5px wide instead of 0.8px, so the shapes stand out more |diff --git a/animations/07-ambient-background/animated-gradient-background/README.md b/animations/07-ambient-background/animated-gradient-background/README.mdindex 3a24d402..e1b3d84f 100644--- a/animations/07-ambient-background/animated-gradient-background/README.md+++ b/animations/07-ambient-background/animated-gradient-background/README.md@@ -45,7 +45,7 @@ Note: `filter` on the gradient element also affects any children — wrap conten## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Gradient | Sliding | Sliding moves a large, soft gradient back and forth; Color wheel turns every color around the color wheel; Bright bands slides brighter colors between dark ends, one and a half times as slowly |+| Gradient | Sliding | Sliding moves a large, soft gradient (four times the box's width and height) back and forth; Color wheel turns every color around the color wheel; Bright bands slides brighter colors between dark ends (three times the box's width and height), one and a half times as slowly || Speed | Normal | How long one cycle takes: slow is 32s, normal 20s and fast 12s; under 8s it becomes distracting || Colors | Cool | The colors the gradient moves through: cool blues and purples, sunset oranges, ocean blues and greens, or grays || Muted colors | off | Takes most of the color out (30% saturation) for a quieter background |diff --git a/animations/07-ambient-background/aurora/README.md b/animations/07-ambient-background/aurora/README.mdindex d44aee7c..d2cca6ae 100644--- a/animations/07-ambient-background/aurora/README.md+++ b/animations/07-ambient-background/aurora/README.md@@ -55,7 +55,7 @@ On phones the demo halves the blur, `@media (max-width: 600px) { .band { filter:| Parameter | Default | Effect ||-----------|---------|--------|| Number of bands | 2 | How many bands of light: two look clear, five make a richer, layered sky |-| Speed | Normal | How long each band takes to sway through its cycle: slow is 48s, normal 30s and fast 18s |+| Speed | Normal | How long the bands take to sway through their cycle: slow is 48s, normal 30s and fast 18s for the green band; blue takes 1.15 times as long, purple 0.85, pink 1.25 and red 1.1, so the bands drift in and out of step || Colors | Green | Which colors come first: green and blue (the most common aurora), purple and pink, or red and pink (rare); more bands add the other colors || Brightness | Medium | How strongly the bands glow: dim is 50%, medium 75% and bright 100% || Stars in the sky | off | Adds 120 twinkling stars behind the bands |diff --git a/animations/07-ambient-background/breathing-glow/README.md b/animations/07-ambient-background/breathing-glow/README.mdindex 5e048861..dd0301f6 100644--- a/animations/07-ambient-background/breathing-glow/README.md+++ b/animations/07-ambient-background/breathing-glow/README.md@@ -77,7 +77,7 @@ The 2% scale on the center element is intentionally subtle — the eye should no| How much it grows | Medium | How far the glow shrinks and grows: a little is 80% to 120% of its size, medium 60% to 150% and a lot 45% to 180% || Glow color | Blue | The color of the glow: pink, blue, purple, green or orange (white would hide the white title at the breath's peak) || Glow size | Medium | The glow's size before it grows: small is 180px, medium 260px and large 340px |-| Second glow | off | A larger, fainter glow behind the first breathes the other way over a longer cycle, so the two never line up |+| Second glow | off | A larger, fainter glow behind the first, 1.5 times its size, breathes over a cycle 1.3 times as long, so the two drift in and out of step || Icon and title breathe too | on | The icon and the title under it swell by 2% with each breath, too little to notice consciously |## Production notesdiff --git a/animations/07-ambient-background/fireworks/README.md b/animations/07-ambient-background/fireworks/README.mdindex 2704c296..ccbf641a 100644--- a/animations/07-ambient-background/fireworks/README.md+++ b/animations/07-ambient-background/fireworks/README.md@@ -54,7 +54,7 @@ At Rarely and Sometimes the sky between bursts ends up clean. At Often, where bu## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| How often | Sometimes | The time between launches, on average: rarely about 2.2 seconds, sometimes 1.2 and often half a second |+| How often | Sometimes | The time between launches, on average: rarely about 2.2 seconds, sometimes 1.2 and often half a second, each gap a random half to one and a half times that || Colors | Many colors | Each burst picks one color: from eight hues, from three golds, or from blues and violets || Trails | Long | How much of the picture each 60th of a second's cover takes away: none 100%, short 30% and long 13% || Burst shape | Round | A ball of sparks, a ring of sparks that all fly at nearly the same speed, or a willow whose sparks droop like branches |diff --git a/animations/07-ambient-background/floating-elements/README.md b/animations/07-ambient-background/floating-elements/README.mdindex 6d544dc8..2af42873 100644--- a/animations/07-ambient-background/floating-elements/README.md+++ b/animations/07-ambient-background/floating-elements/README.md@@ -94,7 +94,7 @@ The pointer's position is taken from `pointerdown` as well as `pointermove`, so| Parameter | Default | Effect ||-----------|---------|--------|| Number of shapes | Medium | Few is 5, medium 8 and many 14; 5 to 12 feels calm, more gets busy |-| Speed | Normal | How fast the shapes drift: slow is 0.3, normal 0.5 and fast 0.8 |+| Speed | Normal | How fast the shapes drift: each one sways from side to side and back in 87 to 233 seconds at slow, 52 to 140 at normal and 33 to 87 at fast, and takes 1.4 times as long up and down || How far they drift | Medium | How far each shape wanders from its place: short is up to 30px, medium 50px and long 90px || Shapes | Mixed | Circles, squares, rings or a mix || Colors | Cool | Cool blues and purples, warm oranges and reds, grays, or bright neon |diff --git a/animations/07-ambient-background/grid-dot-pattern-parallax/README.md b/animations/07-ambient-background/grid-dot-pattern-parallax/README.mdindex 815bc4be..f3606318 100644--- a/animations/07-ambient-background/grid-dot-pattern-parallax/README.md+++ b/animations/07-ambient-background/grid-dot-pattern-parallax/README.md@@ -72,7 +72,7 @@ function autoLoop(now) {| Parameter | Default | Effect ||-----------|---------|--------|| Pattern | Dots | A grid of dots, of lines, or both |-| Strength | Medium | How far the grid shifts: subtle is 3% of the pointer's movement, medium 5% and strong 10%; under 10% it is felt more than seen |+| Strength | Medium | How far the grid shifts: subtle is 3% of the pointer's movement, medium 5% and strong 10%, and its drift with no pointer scales the same way (up to 2% of the stage's width and 1.5% of its height at medium); under 10% it is felt more than seen || Spacing | Medium | The distance between dots or lines: tight is 20px, medium 28px and wide 44px || Pattern color | Blue | The color of the dots and lines, shown at 25% so they stay faint || Second layer | off | A sparser layer of larger dots shifts half as far, adding real depth between the two |diff --git a/animations/07-ambient-background/light-leak/README.md b/animations/07-ambient-background/light-leak/README.mdindex e006677e..c666178d 100644--- a/animations/07-ambient-background/light-leak/README.md+++ b/animations/07-ambient-background/light-leak/README.md@@ -65,9 +65,9 @@ The demo opens on a leak at its peak rather than a dark stage: it lights the glo| Comes from | Top left | The corner the glow spills in from, or a band of light down the middle || Time between leaks | Medium | The random dark gap between one leak and the next: short is 0.5–1.5s, medium 1–3s and long 3–8s || Speed | Normal | How long each leak takes to fade in, and again to fade out: slow is 2s, normal 1.2s and fast 0.7s |-| Brightness | Medium | How strong the glow gets: dim is 30%, medium 55% and bright 80%; each leak peaks a little below this, at random |+| Brightness | Medium | How strong the glow gets: dim is 30%, medium 55% and bright 80%; each leak peaks at a random 75% to 100% of this || Color | Amber | Amber is the classic leak; gold, rose and magenta are warm too, and cyan looks like a cooler film stock |-| Floating light spots | off | Soft spots of light drift up and fade after each leak |+| Floating light spots | off | Three soft spots of light drift up from the bottom and fade with each leak |## Production notes- **Irregularity is the entire effect**: a light leak that fires every 8 seconds at 0.5 opacity reads as a CSS animation loop, not a film defect. Randomizing both the delay and intensity per occurrence is what creates the analog feel.diff --git a/animations/07-ambient-background/light-rays/README.md b/animations/07-ambient-background/light-rays/README.mdindex 46c8b15d..bcfd9f58 100644--- a/animations/07-ambient-background/light-rays/README.md+++ b/animations/07-ambient-background/light-rays/README.md@@ -41,7 +41,7 @@ Each speck of dust drifts up and sideways with a gentle wobble. Its brightness i| Parameter | Default | Effect ||-----------|---------|--------|| Light color | Warm | Warm late sunshine over a brown-black room, or cool moonlight over a blue-black one |-| Speed | Normal | How fast the beams sway and the dust drifts: slow is half the normal pace and fast twice it; at normal a beam sways back and forth every 12 to 22 seconds |+| Speed | Normal | How fast the beams sway and the dust drifts: slow is half the normal pace and fast twice it; at normal a beam sways back and forth every 12 to 22 seconds and a speck of dust rises 2 to 7px a second || Floating dust | on | Specks of dust drift slowly upward and glint where a beam crosses them; phones show 40, other screens 80 || Number of rays | Some | Few is 5 beams, some 8 and many 12; more beams overlap into a fuller, brighter light || Light comes from | Top left | Where the beams start: just above the top left corner, the middle of the top edge or the top right corner |diff --git a/animations/07-ambient-background/matrix-rain/README.md b/animations/07-ambient-background/matrix-rain/README.mdindex b425eac8..8679d67d 100644--- a/animations/07-ambient-background/matrix-rain/README.md+++ b/animations/07-ambient-background/matrix-rain/README.md@@ -35,9 +35,9 @@ Because the canvas is never fully cleared, the length of the tail is entirely co| Parameter | Default | Effect ||-----------|---------|--------|| Speed | Normal | How often the rain moves down a row: slow is about 18 times a second, normal 28 and fast about 46 |-| Characters | Japanese | Japanese katakana (the film's look), binary 0 and 1, or hexadecimal 0 to F |+| Characters | Japanese | Japanese katakana with the digits 0 to 9 (the film's look), binary 0 and 1, or hexadecimal 0 to F || Trail length | Medium | How long characters linger: short fades 12% a step, medium 7% and long 4% |-| Character size | Medium | Small is 12px, medium 16px and large 22px; larger characters make fewer columns |+| Character size | Medium | Small is 12px, medium 16px and large 22px; the columns are spaced one character size apart, at least 14px on phones, so larger characters make fewer columns || Glowing leaders | on | A soft glow around each column's leading character |## Production notesdiff --git a/animations/07-ambient-background/mesh-gradient/README.md b/animations/07-ambient-background/mesh-gradient/README.mdindex a8e59b5a..1be39e27 100644--- a/animations/07-ambient-background/mesh-gradient/README.md+++ b/animations/07-ambient-background/mesh-gradient/README.md@@ -65,7 +65,7 @@ Heavy blur is the costly part on phones, so the demo halves it on small screens:## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Blur | Medium | How much the blobs are blurred: light is 50px, medium 80px and heavy 130px; below about 80px the circles show, above it they become a wash. Phones use half |+| Blur | Medium | How much the blobs are blurred: light is 50px, medium 80px and heavy 130px; below about 80px the circles show, above it they become a wash. Screens up to 600px wide use half || Speed | Normal | How long a blob takes to drift one way: slow is 64s, normal 40s and fast 24s, and each blob takes 0.8 to 1.2 times that || Colors | Cool | The blob colors: cool, warm, sunset, synthwave or earth tones || Number of blobs | 4 | Three, four or five blobs; more make a richer mix |diff --git a/animations/07-ambient-background/particle-constellation/README.md b/animations/07-ambient-background/particle-constellation/README.mdindex 5b05211f..96effc4b 100644--- a/animations/07-ambient-background/particle-constellation/README.md+++ b/animations/07-ambient-background/particle-constellation/README.md@@ -51,7 +51,7 @@ node.vx += (node.cvx - node.vx) * 0.01 * k; // ease back to the c|-----------|---------|--------|| Number of dots | Medium | Few is 50, medium 90 and many 140; phones show at most 60, because every pair of dots is checked each frame || Link distance | Medium | How close two dots must be to be linked: short is 90px, medium 130px and long 180px; too long and everything links to everything |-| Speed | Normal | How fast the dots drift: slow is 0.35, normal 0.6 and fast 1; faster looks agitated |+| Speed | Normal | How fast the dots drift: slow is about 8px a second, normal 14px and fast 23px on average, each dot at its own random speed and direction; faster looks agitated || Color | Cyan | The color of the dots and lines: cyan, violet, mint or gray || Dots follow the pointer | on | Dots near the pointer, or a finger, drift toward it and gather there |diff --git a/animations/07-ambient-background/plasma/README.md b/animations/07-ambient-background/plasma/README.mdindex e067a705..440fccb3 100644--- a/animations/07-ambient-background/plasma/README.md+++ b/animations/07-ambient-background/plasma/README.md@@ -47,8 +47,8 @@ math.| Parameter | Default | Effect ||-----------|---------|--------|-| Speed | Normal | How fast the field flows: slow is 0.6 times the base speed, normal 1 and fast 1.6 |-| Pattern size | Medium | How big the color shapes are: small packs more waves into the field, large makes broad, soft blobs |+| Speed | Normal | How fast the field flows: slow is 0.6 times the base speed, normal 1 and fast 1.6; at normal each of the four waves rises and falls at any one spot every 5 to 9 seconds |+| Pattern size | Medium | How big the color shapes are: small packs more waves into the field, large makes broad, soft blobs; at medium detail one full wave spans about 31% of the width at small, 50% at medium and 83% at large || Colors | Neon | The palette: neon, sunset, ocean or rose || Detail | Medium | How wide the small picture is before it is scaled up: low is 96 pixels, medium 140 and high 200; phones use at most 140 |diff --git a/animations/07-ambient-background/scanline/README.md b/animations/07-ambient-background/scanline/README.mdindex 1aebafae..111e31be 100644--- a/animations/07-ambient-background/scanline/README.md+++ b/animations/07-ambient-background/scanline/README.md@@ -73,11 +73,11 @@ travel without JavaScript measuring the stage.## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Line spacing | Medium | The distance between lines: tight is 2px, medium 4px and wide 8px; 4px looks like a standard old screen |-| Line darkness | Medium | How dark the lines are: light is 8%, medium 15% and dark 30%; darker looks more retro but lowers contrast |+| Line spacing | Medium | The distance between lines: tight is 2px, medium 4px and wide 8px, each line 1px thick; 4px looks like a standard old screen |+| Line darkness | Medium | How dark the lines are: light is 8% black, medium 15% and dark 30%; darker looks more retro but lowers contrast || Moving beam | on | A soft band of light sweeps down the screen, again and again || Beam speed | Normal | How long the beam takes to cross the screen: slow is 6.4s, normal 4s and fast 2.4s |-| Beam brightness | Medium | How bright the beam is: faint is 6%, medium 12% and bright 24%; it should be felt more than seen |+| Beam brightness | Medium | How bright the beam is: faint is 6% white, medium 12% and bright 24% along the middle of the 120px band, fading to nothing at its top and bottom; it should be felt more than seen || Dark corners | off | A soft vignette darkens the corners, like the curved glass of an old screen || Glowing text | off | A soft glow around the letters, like light spreading on an old screen |diff --git a/animations/07-ambient-background/snow-rain/README.md b/animations/07-ambient-background/snow-rain/README.mdindex 8d7dbed0..e1c6f8d3 100644--- a/animations/07-ambient-background/snow-rain/README.md+++ b/animations/07-ambient-background/snow-rain/README.md@@ -51,9 +51,9 @@ The number of particles follows the area they share, so a phone draws about a qu## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Weather | Snow | Snow drifts down slowly and sways; rain falls more than ten times as fast, drawn as streaks |+| Weather | Snow | Snow drifts down slowly, about 30 to 80px a second from far to near, and sways 4 to 13px to each side; rain falls more than ten times as fast, about 540 to 1,080px a second, drawn as streaks 11 to 22px long || Amount | Medium | How many particles per 100,000 square pixels: light, medium and heavy are 28, 62 and 125 flakes, or 35, 80 and 170 drops; phones draw 80% of that |-| Wind | Gentle | None, gentle or strong: the wind carries snow sideways and tilts the rain, near particles more than far ones |+| Wind | Gentle | None, gentle or strong: the wind carries snow sideways and tilts the rain, near particles more than far ones; gentle slants the snow's path about 30° from straight down and the rain about 8°, strong about 55° and 20° || Depth | on | Three layers in which near flakes and drops are bigger, brighter and faster than far ones; off, every particle is the size and speed of the middle layer |## Production notesdiff --git a/animations/07-ambient-background/starfield/README.md b/animations/07-ambient-background/starfield/README.mdindex e384e457..e1ab9c85 100644--- a/animations/07-ambient-background/starfield/README.md+++ b/animations/07-ambient-background/starfield/README.md@@ -92,9 +92,9 @@ One stronger cover, `1 - 0.15 ** n`, would fade the same amount in theory, but a| Parameter | Default | Effect ||-----------|---------|--------|| Direction | Outward | Outward streams the stars from the center; sideways drifts them past, the nearer ones faster |-| Speed | Normal | How fast the stars move: slow is 0.25, normal 0.4 and fast 0.65, about the pixels a star covers in a 60th of a second out at the edge (16, 25 and 41 pixels a second), and about a third of that near the center; keep it slow for a calm background |+| Speed | Normal | How fast the stars move: outward, a star near the edge covers 16, 25 and 41 pixels a second at slow, normal and fast, and a little under a third of that near the center; sideways, the nearest stars cover 30, 48 and 78 pixels a second and the farthest a fifth of that; keep it slow for a calm background || Number of stars | Medium | Few is 150, medium 300 and many 600; phones show at most 300 |-| Star color | White | White, a warm white, or a different pale color for each star |+| Star color | White | White, a warm white, or a different pale tint for each star, from pink to yellow || Twinkling | on | Each star gently brightens and dims on its own rhythm || Nebula haze | off | A faint purple and blue haze behind the stars adds depth |diff --git a/animations/07-ambient-background/synthwave-grid/README.md b/animations/07-ambient-background/synthwave-grid/README.mdindex f429eb13..9ef7af3c 100644--- a/animations/07-ambient-background/synthwave-grid/README.md+++ b/animations/07-ambient-background/synthwave-grid/README.md@@ -37,7 +37,7 @@ The glow is a canvas `shadowBlur` set to the grid color; the sun is a clipped se## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Speed | Normal | How fast the floor rolls toward the viewer: slow is 0.6, normal 1 and fast 1.6 |+| Speed | Normal | How fast the floor rolls toward the viewer: slow is 0.6 times normal and fast 1.6 times; at normal a new line leaves the horizon 1.2 times a second, and with medium lines each takes about 13 seconds to reach the bottom edge || Number of lines | Medium | How many lines the floor has: few is 10 across and 15 toward the horizon, medium 16 and 23, many 24 and 35; more lines make a finer grid || Grid color | Pink | The color of the glowing lines: pink, cyan, purple or orange |diff --git a/animations/07-ambient-background/topographic-lines/README.md b/animations/07-ambient-background/topographic-lines/README.mdindex 09ace7d5..16e8dede 100644--- a/animations/07-ambient-background/topographic-lines/README.md+++ b/animations/07-ambient-background/topographic-lines/README.md@@ -36,8 +36,8 @@ The field has its own clock, which grows by the time since the last frame times## Key parameters| Parameter | Default | Effect ||-----------|---------|--------|-| Line spacing | Medium | How much the height changes between two lines: tight puts about 1.7 times as many lines on the same ground, wide about 0.6 times |-| Speed | Normal | How fast the hills swell and drift: slow is half the normal pace and fast twice it; at normal the broad hills slide about 7px a second |+| Line spacing | Medium | How much the height changes between two lines: tight puts about 1.7 times as many lines on the same ground, wide about 0.6 times; with medium hills the lines are on average about 8px apart at tight, 14px at medium and 22px at wide |+| Speed | Normal | How fast the hills swell and drift: slow is half the normal pace and fast twice it; at normal the broad hills slide about 7px a second with medium hills, 4px with small and 12px with large || Color | Sand | Sand, mint, sky blue or white lines on a dark ground || Hill size | Medium | How wide one hill is: about 130px (small), 220px (medium) or 360px (large) || Bold every fifth line | on | Every fifth line is drawn thicker and brighter, like the index contours of a printed map |