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
chore: the skill written again from the new Key parameters of Text & Typography, 3D & Advanced and Ambient & Background
matin036c06d56b20
diff --git a/skills/animation-handbook/references/05-text-typography.md b/skills/animation-handbook/references/05-text-typography.mdindex 4a67971b..46e17cc7 100644--- a/skills/animation-handbook/references/05-text-typography.md+++ b/skills/animation-handbook/references/05-text-typography.md@@ -39,7 +39,7 @@ Add a kinetic typography sequence to [the short phrases you want to show]. Show**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Speed: Slow · **Normal** · Fast. 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: Slow · **Normal** · Fast. 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.## Typewriter Effect@@ -78,7 +78,7 @@ Add a scramble effect to [your headline or short phrase]. Each letter should sta**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Random characters: Alphabet · **Symbols** · Numbers · Japanese · Mixed. 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: Alphabet · **Symbols** · Numbers · Japanese · Mixed. 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: Short · **Medium** · Long. 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: Slow · **Normal** · Fast. How often the random characters change: slow every 65ms, normal every 40ms and fast every 25ms; faster looks more chaotic.- Your text: text field, starts as "DECODE THE MESSAGE". The text that is decoded, shown in capitals.@@ -120,7 +120,7 @@ Add a line-by-line reveal to [your multi-line headline]. Lay out every line in i- Starts from: **Left** · Right · Top. 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: Slow · **Normal** · Fast. How long each line takes to uncover: slow is 1100ms, normal 700ms and fast 400ms.- Delay between lines: Short · **Medium** · Long. 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** · Gentle · Even. Smooth slows to a stop, which feels physical; Gentle eases in and out; Even feels mechanical.+- Feel: **Smooth** · Gentle · Even. Smooth slows to a stop, which feels physical; Gentle eases in and out; Even keeps one steady pace, which feels mechanical.- Your lines: text box, starts with the lines "Good design", "Is honest" and "Always.". The headline, one line per row.## Marquee / Ticker@@ -159,7 +159,7 @@ Add a letter-by-letter morph to [the word that should change, and the words it c**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Slide direction: **Up** · Down · Left · Right. Up and down look like a slot machine; left and right slide sideways.+- Slide direction: **Up** · Down · Left · Right. 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** · Short · Long. 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: Slow · **Normal** · Fast. How long each letter takes to slide: slow is 650ms, normal 400ms and fast 250ms.- Time on each word: Short · **Medium** · Long. How long each word stays: short is 900ms, medium 1500ms and long 2400ms; it must be long enough to read.@@ -181,7 +181,7 @@ Add a flowing color gradient to [your headline or logo text]. Fill the letters w**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Gradient: **Flowing** · Spinning · Diagonal · Two colors. 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: Slow · **Normal** · Fast. How long one full pass takes: slow is 6.4s, normal 4s and fast 2.4s; slower feels calm, faster feels lively.+- Speed: Slow · **Normal** · Fast. 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: Pink · White · **Blue** · Purple · Green · Orange (the page shows it only for some choices of another setting). With Two colors, the color the gradient starts and ends with.- Second color: Pink · White · Blue · **Purple** · Green · Orange (the page shows it only for some choices of another setting). With Two colors, the color in the middle.- Your text: text field, starts as "Flow". The text the colors flow through.@@ -243,8 +243,8 @@ Add a rotating word to [your headline, with the word that should change]. Keep t**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Slide direction: **Up** · Down · Left · Right. Up and down move the word like a slot machine; left and right slide it sideways.-- Speed: Slow · **Normal** · Fast. How long each slide takes: slow is 650ms, normal 400ms and fast 250ms.+- Slide direction: **Up** · Down · Left · Right. 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: Slow · **Normal** · Fast. 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: Short · **Medium** · Long. 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** · off. A new color for each word draws attention to the change; one color is calmer.- Your sentence: text field, starts as "We craft for". The part of the headline that stays still.@@ -265,9 +265,9 @@ Add a glitch effect to [your headline or short word]. Place two copies of the te**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Color split: Small · **Medium** · Large. How far the red and cyan copies sit from the word: small is 2px, medium 4px and large 8px.+- Color split: Small · **Medium** · Large. 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: Slow · **Normal** · Fast. 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: Mild · **Medium** · Strong. How hard the word shakes and how often the strips reshuffle: mild, medium or strong.+- Glitch strength: Mild · **Medium** · Strong. 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: on · **off**. Holds the word still until you point at it; on touch screens a tap starts and stops it.- Your text: text field, starts as "GLITCH". The word that glitches, up to 12 letters, shown in capitals.@@ -306,7 +306,7 @@ Add a wavy text effect to [your word or short title]. Split the text into letter**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Wave height: Low · **Medium** · High. How far each letter travels: low is 8px, medium 16px and high 28px; larger makes a taller wave.+- Wave height: Low · **Medium** · High. 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: Slow · **Normal** · Fast. How long one rise and fall takes: slow is 2.6s, normal 1.6s and fast 1s.- Delay between letters: Short · **Medium** · Long. The gap between neighboring letters: short is 30ms, medium 60ms and long 120ms; longer delays stretch the wave.- Your text: text field, starts as "Wavy". The word that waves, up to 14 letters.@@ -328,7 +328,7 @@ Add a highlighter sweep to [the key words in your paragraph or quote]. Behind ea- Marker color: **Yellow** · Pink · Green · Blue · Orange. The color of the bands: yellow, pink, green, blue or orange, all light enough for the dark words to stay easy to read.- Speed: Slow · **Normal** · Fast. 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** · Lower half. 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** · Lower half. 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.## Split-Flap Board@@ -365,9 +365,9 @@ Add a neon sign effect to [your sign word or short title]. Draw the letters as b**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Color: **Pink** · Blue · Green · Amber · Purple. The color of the tubes, their glow and the wash on the wall.-- How often it flickers: Calm · **Normal** · Busy. 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: Calm · **Normal** · Busy. 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** · off. One letter a little past the middle of the word buzzes and drops out on its own cycle.-- Glow size: Small · **Medium** · Large. How far the light spreads: small, medium or large sets of glow layers.+- Glow size: Small · **Medium** · Large. 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** · off. Adds a rounded tube border that glows and flickers with the letters.- Your text: text field, starts as "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.@@ -389,7 +389,7 @@ Add a handwriting animation to [your word or signature, drawn as single SVG line- Word: **hello** · thanks · hi there. 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: Slow · **Normal** · Fast. 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** · Black · Red · Green. The color of the ink, and of the pen.-- Pen size: Fine · **Medium** · Bold. How wide the line is: fine is 1.1 units, medium 1.8 and bold 2.8.+- Pen size: Fine · **Medium** · Bold. 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** · off. A small pen rides on the tip of the line and lifts between strokes.## Text Particles@@ -407,7 +407,7 @@ Add a text particle effect to [the word or short title you want to animate]. Sam**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Dot size: Small · **Medium** · Large. 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: Small · **Medium** · Large. 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: Short · **Medium** · Far. 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** · Cool · Rainbow · White. 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: Slow · **Normal** · Fast. 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/skills/animation-handbook/references/06-3d-advanced.md b/skills/animation-handbook/references/06-3d-advanced.mdindex 0fc9f480..9a3de7b5 100644--- a/skills/animation-handbook/references/06-3d-advanced.md+++ b/skills/animation-handbook/references/06-3d-advanced.md@@ -46,11 +46,11 @@ Add a spinning 3D object to [the product or shape you want to show]. Draw it wit**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Shape: **Cube** · Sphere · Ring · Pyramid. The object that is drawn: a cube, a sphere, a ring or a four-sided pyramid.-- Movement: **Spins** · Follows the pointer. Spins turns it by itself; Follows the pointer turns it to face your pointer or finger.-- Speed: Slow · **Normal** · Fast. How fast it spins: slow is about 17°, normal 27° and fast 45° a second, on any screen.+- Shape: **Cube** · Sphere · Ring · Pyramid. The object that is drawn: a cube, a sphere, a ring or a pyramid of four triangles.+- Movement: **Spins** · Follows the pointer. 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: Slow · **Normal** · Fast. 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** · off. Also rolls it forward, at a speed that rises and falls, so the top and bottom come into view.-- Distance: Close · **Medium** · Far. How far away the camera is: close looks bigger, far looks smaller; the lens stays the same.+- Distance: Close · **Medium** · Far. 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: Pink · White · **Blue** · Purple · Green · Orange. The object's color; the lighting adds the shading and the highlight.- Edges only: on · **off**. Draws the edges of the triangles the shape is made of, instead of its lit surface.@@ -69,8 +69,8 @@ Add a scroll-driven 3D rotation to [the product or object you want to show]. Pin**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Turn amount: Less · **Normal** · More. 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** · off. 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: Less · **Normal** · More. 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** · off. 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.## Parallax 3D Tilt@@ -109,10 +109,10 @@ Add a particle background to [the section you want it behind]. Draw small dots o**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Pointer effect: **Push** · Pull · None. What the pointer or a finger does to dots within 120px: pushes them away, pulls them in, or nothing.+- Pointer effect: **Push** · Pull · None. 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: Few · **Medium** · Many. 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: None · Short · **Medium** · Long. How close two dots must be to join with a line: short is 70px, medium 100px and long 150px; none draws no lines.-- Speed: Slow · **Normal** · Fast. 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: Slow · **Normal** · Fast. 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: Pink · White · **Blue** · Purple · Green · Orange. The color of the dots and lines.- Trails: on · **off**. Each dot leaves a fading streak, because the canvas is only partly cleared between frames.@@ -133,7 +133,7 @@ Add liquid blobs to [the section you want them in]. In a WebGL fragment shader,- Melting: A little · **Medium** · A lot. 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: Few · **Medium** · Many. Few is 3, medium 5 and many 8 blobs; each one adds work for every pixel.-- Speed: Slow · **Normal** · Fast. How fast the blobs move on their paths: slow is 0.5, normal 0.8 and fast 1.3.+- Speed: Slow · **Normal** · Fast. 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: Small · **Medium** · Large. Each blob's radius: small is 9%, medium 14% and large 20% of the stage height.- Color: Pink · White · **Blue** · Purple · Green · Orange. The color of the liquid.- Glow: **on** · off. Adds a soft halo that fades out around the liquid.@@ -155,7 +155,7 @@ Add frosted glass to [the cards or panels you want to style]. Give each card a s**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Frost: Off · Light · **Medium** · Heavy. 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: Faint · **Medium** · Strong. How much color the glass adds: faint is 6%, medium 12% and strong 25%.+- Tint strength: Faint · **Medium** · Strong. How much color the glass adds: faint fills it with the tint color at 6% strength, medium at 12% and strong at 25%.- Speed: Slow · **Normal** · Fast. How long the colors behind take to drift through one path: slow is 13s, normal 8s and fast 5s.- Tint color: Pink · White · **Blue** · Purple · Green · Orange. The color of the glass.- Breathing frost: **on** · off. The middle card's blur grows from 8px to 20px and back every 4 seconds.@@ -177,7 +177,7 @@ Add a moving shader pattern to [the background or section you want it in]. Cover**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Pattern: **Plasma** · Waves · Cells · Kaleidoscope. 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: Slow · **Normal** · Fast. How fast time runs in the pattern: slow is 0.6, normal 1 and fast 1.6 times.+- Speed: Slow · **Normal** · Fast. 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: on · **off**. Each pattern bends around the pointer or a finger in its own way; in Kaleidoscope the pointer sets the number of slices.## Noise-Based Motion@@ -196,9 +196,9 @@ Add noise-based motion to [the background or shape you want to bring to life]. U**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Shape: **Field of dots** · Blob. A field of dots that sway, or one blob whose outline ripples.-- Pattern size: Large · **Medium** · Small. How big the noise's patterns are: large moves big areas together, small looks busy and fine.-- Speed: Slow · **Normal** · Fast. 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: Small · **Medium** · Large. How far each dot, or the blob's edge, moves: small is 6px, medium 12px and large 20px.+- Pattern size: Large · **Medium** · Small. 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: Slow · **Normal** · Fast. 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: Small · **Medium** · Large. 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: Wide · **Medium** · Tight. The distance between dots in the field: wide is 64px, medium 48px and tight 32px; smaller stages draw fewer dots.- Color: Pink · White · **Blue** · Purple · Green · Orange. The color of the dots or the blob.@@ -219,7 +219,7 @@ Add a self-drawing line to [your icon, logo or signature, drawn as SVG lines]. M- Drawing: **Icon** · Signature · Logo. What is drawn: a house with a star, a flowing signature, or a circle logo.- Speed: Slow · **Normal** · Fast. 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: Thin · **Medium** · Thick. Thin is 1px, medium 2px and thick 4px; thin looks precise, thick looks bold.+- Line thickness: Thin · **Medium** · Thick. 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** · Gentle · Even. Smooth slows at the end, like a hand finishing a stroke; Gentle eases in and out; Even keeps one pace.- Line color: Pink · White · **Blue** · Purple · Green · Orange. The color of the lines, and of the fill.- Starts from the other end: on · **off**. Draws each line from its end back to its start.@@ -240,7 +240,7 @@ Add a chromatic aberration effect to [your headline or short word]. Stack three**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Movement: **Pulse** · Glitch · None. Pulse widens and narrows the split every 2 seconds; Glitch jumps it briefly every 4 seconds; None keeps it still.+- Movement: **Pulse** · Glitch · None. 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: Small · **Medium** · Large. 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: Sideways · **Slanted** · Up and down. Sideways splits the colors left and right; Slanted splits them at 30°; Up and down splits them vertically.- Soft color edges: on · **off**. Blurs the red and blue copies by 2px, which looks more like a lens than a digital shift.@@ -261,7 +261,7 @@ Add a 2.5D parallax scene to [the illustration or hero you want to give depth].**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Camera movement: Small · **Medium** · Large. 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: Small · **Medium** · Large. 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: on · **off**. Labels each layer with the share of the camera movement it follows, from 5% for the sky to 100% for the ground.## Ray Marching / SDF Scene@@ -303,7 +303,7 @@ Add a GPU particle system to [the section you want it in]. Keep every particle's- Movement: **Flow** · Swirl · Attract · Orbit. 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: 16,000 · **65,000** · 100,000 (phones start with 16,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: Slow · **Normal** · Fast. How hard the rule pushes for every sixtieth of a second: slow is 0.35, normal 0.6 and fast 1.+- Speed: Slow · **Normal** · Fast. 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** · By speed · Shifting. One blue, a color from each particle's speed, or colors that slowly shift.- Trails: on · **off**. Fades the last picture instead of clearing it, so each particle leaves a streak.@@ -323,8 +323,8 @@ Add a hover distortion to [the image you want to react]. Draw the image with a W**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Effect: **Ripple** · Push · Liquid · Pixels. Ripple sends rings out from the pointer; Push bulges the picture outward; Liquid swirls it; Pixels breaks it into squares.-- Strength: Gentle · **Medium** · Strong. How far the picture bends: gentle is 4, medium 8 and strong 14; stronger looks more dramatic but harder to read.-- Size: Small · **Medium** · Large. How wide an area bends: small is 15%, medium 25% and large 40% of the picture's height.+- Strength: Gentle · **Medium** · Strong. 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: Small · **Medium** · Large. 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: Slow · **Normal** · Fast. 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** · off. With Ripple, the rings keep moving outward while the pointer rests; off, they stand still.@@ -344,10 +344,10 @@ Add a cloth simulation to [the flag, banner or fabric you want to show]. Model t**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Hangs from: **Two corners** · Top edge · One corner · Nothing. Pins the top two corners, the whole top edge, one corner, or nothing, in which case the cloth falls to the floor.-- Wind: Light · **Medium** · Strong. How hard the wind blows; it rises and falls on its own: light is 0.2, medium 0.5 and strong 1.2.+- Wind: Light · **Medium** · Strong. 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: Stretchy · **Medium** · Stiff. How many times each step, sixty a second, the links are pulled back to length: stretchy is 2, medium 4 and stiff 8.-- Gravity: Light · **Normal** · Heavy. How heavy the cloth is: light is 0.06, normal 0.12 and heavy 0.2.-- Detail: Low · **Medium** · High (phones start with Low). How many points the cloth has: low is 16 × 12, medium 24 × 18 and high 40 × 30; phones start at low.+- Gravity: Light · **Normal** · Heavy. 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: Low · **Medium** · High (phones start with Low). 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: on · **off**. Marks every point of the grid, with the pinned ones in red.## Volumetric Smoke / 3D Noise@@ -365,11 +365,11 @@ Add volumetric smoke to [the section you want it in]. In a fragment shader, send**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Thickness: Thin · **Medium** · Thick. 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: Slow · **Normal** · Fast. How fast the smoke rises: slow is 0.35, normal 0.6 and fast 1.+- Thickness: Thin · **Medium** · Thick. 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: Slow · **Normal** · Fast. 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: Low · **Medium** · High. 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** · White · Purple · Orange. The color of the lit smoke; the shadowed parts are darker shades of it.-- Wind: **on** · off. The whole plume drifts slowly to one side.+- Wind: **on** · off. 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** · off. Starts each ray at a slightly random point, which turns the stripes that few steps leave into fine grain.## Morphing Blob@@ -387,9 +387,9 @@ Add a gooey blob to [the section you want it in]. Draw several plain circles tha**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Gooeyness: Low · **Medium** · High. 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: Low · **Medium** · High. 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: Few · **Medium** · Many. Few is 4, medium 6 and many 9 circles, counting the drop that follows the pointer.-- Speed: Slow · **Normal** · Fast. How fast the circles drift: slow is 0.6, normal 1 and fast 1.6 times.+- Speed: Slow · **Normal** · Fast. 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.## 3D Flip Card@@ -427,7 +427,7 @@ Add a 3D carousel to [the cards or pictures you want to show]. Stand the cards i**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Number of cards: 6 · **8** · 12. 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: 6 · **8** · 12. 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** · off. Tilts the ring back 14 degrees, so the cards behind show above the front ones; off shows the ring straight on.- Spins by itself: on · **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.@@ -465,9 +465,9 @@ Add a flock of birds to [the section you want it behind]. Draw each bird as a sm**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Flock size: Small · **Medium** · Large. How many birds fly: small is 70, medium 150 and large 280; phones fly 35, 70 and 130.-- How close they fly: Loose · **Normal** · Tight. 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: Loose · **Normal** · Tight. 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** · off. Birds within 90px of the pointer or a finger steer straight away from it.-- Speed: Slow · **Normal** · Fast. 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: Slow · **Normal** · Fast. 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: on · **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.## ASCII / Halftone@@ -485,7 +485,7 @@ Add an ASCII and halftone effect to [the picture or video you want to restyle].**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Drawn with: **Letters** · Dots. 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** · Dots. 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: Small · **Medium** · Large. 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** · Full 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: on · **off**. Draws the moving picture at 40% under the marks, so you can see what each mark stands for.@@ -506,7 +506,7 @@ Add a box of bouncing balls to [the hero or empty area you want to liven up]. A**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Gravity: Moon · **Earth** · Heavy. 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: Moon · **Earth** · Heavy. 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: Low · **Medium** · High. 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** · Mixed. 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: on · **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.@@ -526,10 +526,10 @@ Add a liquid glass panel to [the card or menu you want to float over a picture].**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- How much it bends: Subtle · **Medium** · Strong. 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: Subtle · **Medium** · Strong. 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** · Light · Frosted. 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: Pink · **White** · Blue · Purple · Green · Orange. The color the glass adds, mixed in at 9% for white and 20% for the other colors.-- Shape: **Card** · Pill · Circle. 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** · Pill · Circle. 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: on · **off**. Lays the displacement map over the glass: red is the sideways shift, green the shift up or down, gray none.## Holographic Card@@ -549,7 +549,7 @@ Add a holographic foil to [the card you want to make shine]. Build the card from- Foil pattern: **Smooth** · Glitter · Lines. 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: Gentle · **Medium** · Strong. 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: Off · **Soft** · Bright. 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: Off · **Soft** · Bright. 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: on · **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.## Infinite Zoomdiff --git a/skills/animation-handbook/references/07-ambient-background.md b/skills/animation-handbook/references/07-ambient-background.mdindex 73fc6af6..a961caed 100644--- a/skills/animation-handbook/references/07-ambient-background.md+++ b/skills/animation-handbook/references/07-ambient-background.md@@ -43,7 +43,7 @@ Add an animated gradient background to [the section you want behind your content**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Gradient: **Sliding** · Color wheel · Bright bands. 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** · Color wheel · Bright bands. 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: Slow · **Normal** · Fast. How long one cycle takes: slow is 32s, normal 20s and fast 12s; under 8s it becomes distracting.- Colors: **Cool** · Sunset · Ocean · Gray. The colors the gradient moves through: cool blues and purples, sunset oranges, ocean blues and greens, or grays.- Muted colors: on · **off**. Takes most of the color out (30% saturation) for a quieter background.@@ -63,7 +63,7 @@ Add a mesh gradient background to [the section you want behind your content]. Pl**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Blur: Light · **Medium** · Heavy. 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: Light · **Medium** · Heavy. 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: Slow · **Normal** · Fast. 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** · Warm · Sunset · Synthwave · Earth. The blob colors: cool, warm, sunset, synthwave or earth tones.- Number of blobs: 3 · **4** · 5. Three, four or five blobs; more make a richer mix.@@ -85,7 +85,7 @@ Add an aurora background to [the dark section you want it behind]. Stack a few t**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Number of bands: **2** · 3 · 4 · 5. How many bands of light: two look clear, five make a richer, layered sky.-- Speed: Slow · **Normal** · Fast. How long each band takes to sway through its cycle: slow is 48s, normal 30s and fast 18s.+- Speed: Slow · **Normal** · Fast. 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** · Purple · Red. 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: Dim · **Medium** · Bright. How strongly the bands glow: dim is 50%, medium 75% and bright 100%.- Stars in the sky: on · **off**. Adds 120 twinkling stars behind the bands.@@ -127,11 +127,11 @@ Add a scanline effect to [the screen, panel or section you want to look like an**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Line spacing: Tight · **Medium** · Wide. The distance between lines: tight is 2px, medium 4px and wide 8px; 4px looks like a standard old screen.-- Line darkness: Light · **Medium** · Dark. How dark the lines are: light is 8%, medium 15% and dark 30%; darker looks more retro but lowers contrast.+- Line spacing: Tight · **Medium** · Wide. 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: Light · **Medium** · Dark. How dark the lines are: light is 8% black, medium 15% and dark 30%; darker looks more retro but lowers contrast.- Moving beam: **on** · off. A soft band of light sweeps down the screen, again and again.- Beam speed: Slow · **Normal** · Fast. How long the beam takes to cross the screen: slow is 6.4s, normal 4s and fast 2.4s.-- Beam brightness: Faint · **Medium** · Bright. How bright the beam is: faint is 6%, medium 12% and bright 24%; it should be felt more than seen.+- Beam brightness: Faint · **Medium** · Bright. 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: on · **off**. A soft vignette darkens the corners, like the curved glass of an old screen.- Glowing text: on · **off**. A soft glow around the letters, like light spreading on an old screen.@@ -153,9 +153,9 @@ Add a light leak effect to [the photo, video or section you want it over]. Place- Comes from: **Top left** · Top right · Bottom left · Bottom right · Down the middle. The corner the glow spills in from, or a band of light down the middle.- Time between leaks: Short · **Medium** · Long. The random dark gap between one leak and the next: short is 0.5–1.5s, medium 1–3s and long 3–8s.- Speed: Slow · **Normal** · Fast. How long each leak takes to fade in, and again to fade out: slow is 2s, normal 1.2s and fast 0.7s.-- Brightness: Dim · **Medium** · Bright. How strong the glow gets: dim is 30%, medium 55% and bright 80%; each leak peaks a little below this, at random.+- Brightness: Dim · **Medium** · Bright. 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** · Gold · Rose · Magenta · Cyan. Amber is the classic leak; gold, rose and magenta are warm too, and cyan looks like a cooler film stock.-- Floating light spots: on · **off**. Soft spots of light drift up and fade after each leak.+- Floating light spots: on · **off**. Three soft spots of light drift up from the bottom and fade with each leak.## Starfield / Space Particles@@ -173,9 +173,9 @@ Add a starfield background to [the dark section you want it behind]. Draw many s**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Direction: **Outward** · Sideways. Outward streams the stars from the center; sideways drifts them past, the nearer ones faster.-- Speed: Slow · **Normal** · Fast. 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: Slow · **Normal** · Fast. 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: Few · **Medium** · Many. Few is 150, medium 300 and many 600; phones show at most 300.-- Star color: **White** · Warm white · Many colors. White, a warm white, or a different pale color for each star.+- Star color: **White** · Warm white · Many colors. White, a warm white, or a different pale tint for each star, from pink to yellow.- Twinkling: **on** · off. Each star gently brightens and dims on its own rhythm.- Nebula haze: on · **off**. A faint purple and blue haze behind the stars adds depth.@@ -198,7 +198,7 @@ Add a breathing glow behind [the icon or element that should look alive but at r- How much it grows: A little · **Medium** · A lot. 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: Pink · **Blue** · Purple · Green · Orange. The color of the glow: pink, blue, purple, green or orange (white would hide the white title at the breath's peak).- Glow size: Small · **Medium** · Large. The glow's size before it grows: small is 180px, medium 260px and large 340px.-- Second glow: on · **off**. A larger, fainter glow behind the first breathes the other way over a longer cycle, so the two never line up.+- Second glow: on · **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** · off. The icon and the title under it swell by 2% with each breath, too little to notice consciously.## Ambient Ripple Effect@@ -241,7 +241,7 @@ Add floating shapes to [the section you want a gentle moving background behind].**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Number of shapes: Few · **Medium** · Many. Few is 5, medium 8 and many 14; 5 to 12 feels calm, more gets busy.-- Speed: Slow · **Normal** · Fast. How fast the shapes drift: slow is 0.3, normal 0.5 and fast 0.8.+- Speed: Slow · **Normal** · Fast. 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: Short · **Medium** · Long. How far each shape wanders from its place: short is up to 30px, medium 50px and long 90px.- Shapes: Circles · Squares · Rings · **Mixed**. Circles, squares, rings or a mix.- Colors: **Cool** · Warm · Gray · Neon. Cool blues and purples, warm oranges and reds, grays, or bright neon.@@ -265,7 +265,7 @@ Add a dot grid parallax background to [the section you want a subtle sense of de**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Pattern: **Dots** · Lines · Dots and lines. A grid of dots, of lines, or both.-- Strength: Subtle · **Medium** · Strong. 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: Subtle · **Medium** · Strong. 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: Tight · **Medium** · Wide. The distance between dots or lines: tight is 20px, medium 28px and wide 44px.- Pattern color: Pink · White · **Blue** · Purple · Green · Orange. The color of the dots and lines, shown at 25% so they stay faint.- Second layer: on · **off**. A sparser layer of larger dots shifts half as far, adding real depth between the two.@@ -287,7 +287,7 @@ Add an abstract geometric animation to [the section or screen you want a calm mo**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Pattern: **Polygons** · Rings · Bars · Lines. Turning polygons, rings spreading from the center, sliding bars, or wavy lines with flowing color.-- Speed: Slow · **Normal** · Fast. How fast everything moves: slow is 0.35, normal 0.6 and fast 1; keep it below 1 behind content.+- Speed: Slow · **Normal** · Fast. 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: Few · **Medium** · Many. 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** · Warm · Neon · Gray. Cool blues, warm ambers, bright neon or grays.- Thicker lines: on · **off**. Draws the lines 1.5px wide instead of 0.8px, so the shapes stand out more.@@ -309,7 +309,7 @@ Add a particle constellation background to [the section you want it behind]. Sca- Number of dots: Few · **Medium** · Many. Few is 50, medium 90 and many 140; phones show at most 60, because every pair of dots is checked each frame.- Link distance: Short · **Medium** · Long. 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: Slow · **Normal** · Fast. How fast the dots drift: slow is 0.35, normal 0.6 and fast 1; faster looks agitated.+- Speed: Slow · **Normal** · Fast. 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** · Violet · Mint · Gray. The color of the dots and lines: cyan, violet, mint or gray.- Dots follow the pointer: **on** · off. Dots near the pointer, or a finger, drift toward it and gather there.@@ -349,7 +349,7 @@ Add a synthwave grid to [the section you want a retro scene in]. Draw a purple s**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Speed: Slow · **Normal** · Fast. How fast the floor rolls toward the viewer: slow is 0.6, normal 1 and fast 1.6.+- Speed: Slow · **Normal** · Fast. 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: Few · **Medium** · Many. 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** · Cyan · Purple · Orange. The color of the glowing lines: pink, cyan, purple or orange.@@ -369,9 +369,9 @@ Add a matrix rain background to [the section you want it behind]. Split a dark c**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Speed: Slow · **Normal** · Fast. How often the rain moves down a row: slow is about 18 times a second, normal 28 and fast about 46.-- Characters: **Japanese** · Binary · Hexadecimal. Japanese katakana (the film's look), binary 0 and 1, or hexadecimal 0 to F.+- Characters: **Japanese** · Binary · Hexadecimal. Japanese katakana with the digits 0 to 9 (the film's look), binary 0 and 1, or hexadecimal 0 to F.- Trail length: Short · **Medium** · Long. How long characters linger: short fades 12% a step, medium 7% and long 4%.-- Character size: Small · **Medium** · Large. Small is 12px, medium 16px and large 22px; larger characters make fewer columns.+- Character size: Small · **Medium** · Large. 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** · off. A soft glow around each column's leading character.## Plasma Field@@ -389,8 +389,8 @@ Add a plasma background to [the section you want it behind]. For every point, ad**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Speed: Slow · **Normal** · Fast. How fast the field flows: slow is 0.6 times the base speed, normal 1 and fast 1.6.-- Pattern size: Small · **Medium** · Large. How big the color shapes are: small packs more waves into the field, large makes broad, soft blobs.+- Speed: Slow · **Normal** · Fast. 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: Small · **Medium** · Large. 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** · Sunset · Ocean · Rose. The palette: neon, sunset, ocean or rose.- Detail: Low · **Medium** · High. 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.@@ -429,9 +429,9 @@ Add falling snow or rain to [the dark section you want it over]. Lay a see-throu**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Weather: **Snow** · Rain. Snow drifts down slowly and sways; rain falls more than ten times as fast, drawn as streaks.+- Weather: **Snow** · Rain. 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: Light · **Medium** · Heavy. 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: None · **Gentle** · Strong. None, gentle or strong: the wind carries snow sideways and tilts the rain, near particles more than far ones.+- Wind: None · **Gentle** · Strong. 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** · off. 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.## Fireworks@@ -449,7 +449,7 @@ Add fireworks to [the dark section you want them over]. On a see-through canvas**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- How often: Rarely · **Sometimes** · Often. The time between launches, on average: rarely about 2.2 seconds, sometimes 1.2 and often half a second.+- How often: Rarely · **Sometimes** · Often. 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** · Gold · Blue. Each burst picks one color: from eight hues, from three golds, or from blues and violets.- Trails: None · Short · **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** · Ring · Willow. A ball of sparks, a ring of sparks that all fly at nearly the same speed, or a willow whose sparks droop like branches.@@ -469,8 +469,8 @@ Add a topographic lines background to [the section you want it behind]. Build a**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):-- Line spacing: Tight · **Medium** · Wide. 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: Slow · **Normal** · Fast. 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: Tight · **Medium** · Wide. 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: Slow · **Normal** · Fast. 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** · Mint · Sky blue · White. Sand, mint, sky blue or white lines on a dark ground.- Hill size: Small · **Medium** · Large. How wide one hill is: about 130px (small), 220px (medium) or 360px (large).- Bold every fifth line: **on** · off. Every fifth line is drawn thicker and brighter, like the index contours of a printed map.@@ -491,7 +491,7 @@ Add soft light rays to [the dark section you want them in]. From one point just**Settings** (the choice in bold is where the demo starts; each line ends with what the setting does, with the demo's values):- Light color: **Warm** · Cool. Warm late sunshine over a brown-black room, or cool moonlight over a blue-black one.-- Speed: Slow · **Normal** · Fast. 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: Slow · **Normal** · Fast. 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** · off. Specks of dust drift slowly upward and glint where a beam crosses them; phones show 40, other screens 80.- Number of rays: Few · **Some** · Many. Few is 5 beams, some 8 and many 12; more beams overlap into a fuller, brighter light.- Light comes from: **Top left** · Top · Top right. Where the beams start: just above the top left corner, the middle of the top edge or the top right corner.