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: 158 animations everywhere
matin0884297a8183
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex 5bbcd442..b8d170bd 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -2,4 +2,4 @@ blank_issues_enabled: truecontact_links:- name: Browse the live handbookurl: https://matinmonshizadeh.github.io/animation-handbook/- about: See all 129 techniques running before filing an issue.+ about: See all 158 techniques running before filing an issue.diff --git a/README.md b/README.mdindex 8cb5e688..420c2e68 100644--- a/README.md+++ b/README.md@@ -1,14 +1,14 @@<div align="center">-<a href="https://matinmonshizadeh.github.io/animation-handbook/"><img src="og-image.png" alt="Animation Handbook — 129 web animation techniques with live demos" width="820"></a>+<a href="https://matinmonshizadeh.github.io/animation-handbook/"><img src="og-image.png" alt="Animation Handbook — 158 web animation techniques with live demos" width="820"></a># Animation Handbook-**A visual reference of 129 web animation techniques — every entry is a live, dependency-free demo you can open in the browser and read how it works.**+**A visual reference of 158 web animation techniques — every entry is a live, dependency-free demo you can open in the browser and read how it works.**[**Open the live handbook →**](https://matinmonshizadeh.github.io/animation-handbook/)-[](https://matinmonshizadeh.github.io/animation-handbook/) [](https://github.com/matinmonshizadeh/animation-handbook/stargazers) [](LICENSE)   +[](https://matinmonshizadeh.github.io/animation-handbook/) [](https://github.com/matinmonshizadeh/animation-handbook/stargazers) [](LICENSE)   </div>@@ -22,21 +22,21 @@ Every major web-animation technique in one place, each shown working. Open any f| # | Category | Count | What's in it ||:--:|----------|:-----:|--------------|-| 01 | [Scroll-Based](#01) | 26 | Animations driven by scroll position — parallax, sticky, scrub, snap, and narrative storytelling. |+| 01 | [Scroll-Based](#01) | 27 | Animations driven by scroll position — parallax, sticky, scrub, snap, and narrative storytelling. || 02 | [Entrance & Exit](#02) | 13 | Element-level animations for arriving and departing — fades, slides, reveals, flips, and text staggers. |-| 03 | [Page Transitions](#03) | 12 | Full-page transitions between routes or views — crossfades, slides, portals, morphs, and the browser-native API. |-| 04 | [Micro-Interactions](#04) | 29 | Short, user-triggered animations — hover, click, focus, loading states, and UI feedback patterns. |-| 05 | [Text & Typography](#05) | 14 | Animations specifically for type — kinetic motion, character-level effects, gradient flows, and word transformations. |-| 06 | [3D & Advanced](#06) | 18 | WebGL, shaders, particles, 3D transforms, and the performance-sensitive effects that push the browser's limits. |-| 07 | [Ambient & Background](#07) | 17 | Passive, looping effects that hold visual interest without demanding attention — gradients, particles, grain, and glows. |+| 03 | [Page Transitions](#03) | 16 | Full-page transitions between routes or views — crossfades, slides, portals, morphs, and the browser-native API. |+| 04 | [Micro-Interactions](#04) | 38 | Short, user-triggered animations — hover, click, focus, loading states, and UI feedback patterns. |+| 05 | [Text & Typography](#05) | 18 | Animations specifically for type — kinetic motion, character-level effects, gradient flows, and word transformations. |+| 06 | [3D & Advanced](#06) | 23 | WebGL, shaders, particles, 3D transforms, and the performance-sensitive effects that push the browser's limits. |+| 07 | [Ambient & Background](#07) | 23 | Passive, looping effects that hold visual interest without demanding attention — gradients, particles, grain, and glows. |## Full catalog-All 129 techniques, each linked to its live demo.+All 158 techniques, each linked to its live demo.<a id="01"></a>-### 01 · Scroll-Based · 26 techniques+### 01 · Scroll-Based · 27 techniques<sub>Animations driven by scroll position — parallax, sticky, scrub, snap, and narrative storytelling.</sub>@@ -98,7 +98,7 @@ All 129 techniques, each linked to its live demo.<a id="03"></a>-### 03 · Page Transitions · 12 techniques+### 03 · Page Transitions · 16 techniques<sub>Full-page transitions between routes or views — crossfades, slides, portals, morphs, and the browser-native API.</sub>@@ -125,7 +125,7 @@ All 129 techniques, each linked to its live demo.<a id="04"></a>-### 04 · Micro-Interactions · 29 techniques+### 04 · Micro-Interactions · 38 techniques<sub>Short, user-triggered animations — hover, click, focus, loading states, and UI feedback patterns.</sub>@@ -174,7 +174,7 @@ All 129 techniques, each linked to its live demo.<a id="05"></a>-### 05 · Text & Typography · 14 techniques+### 05 · Text & Typography · 18 techniques<sub>Animations specifically for type — kinetic motion, character-level effects, gradient flows, and word transformations.</sub>@@ -203,7 +203,7 @@ All 129 techniques, each linked to its live demo.<a id="06"></a>-### 06 · 3D & Advanced · 18 techniques+### 06 · 3D & Advanced · 23 techniques<sub>WebGL, shaders, particles, 3D transforms, and the performance-sensitive effects that push the browser's limits.</sub>@@ -234,7 +234,7 @@ All 129 techniques, each linked to its live demo.<a id="07"></a>-### 07 · Ambient & Background · 17 techniques+### 07 · Ambient & Background · 23 techniques<sub>Passive, looping effects that hold visual interest without demanding attention — gradients, particles, grain, and glows.</sub>diff --git a/animations/06-3d-advanced/README.md b/animations/06-3d-advanced/README.mdindex 94843c32..a7d5ea74 100644--- a/animations/06-3d-advanced/README.md+++ b/animations/06-3d-advanced/README.md@@ -1,6 +1,6 @@# 06 — 3D & Advanced-WebGL, shaders, particles, 3D transforms, and the performance-sensitive effects that push the browser's limits. The demos that move by themselves have Pause (SVG Path Animation has Replay and Loop); the ones you hover, click or scroll have Show me or Play.+WebGL, shaders, particles, 3D transforms, and the performance-sensitive effects that push the browser's limits. The demos that move by themselves have Pause (SVG Path Animation has Replay and Loop); the ones you hover, click, drag or scroll have Show me or Play.## Animationsdiff --git a/animations/07-ambient-background/README.md b/animations/07-ambient-background/README.mdindex f42cbf6a..b4448ce2 100644--- a/animations/07-ambient-background/README.md+++ b/animations/07-ambient-background/README.md@@ -46,10 +46,10 @@ Passive, looping effects that hold visual interest without demanding attention.| Approach | Used by ||----------|---------|-| Pure CSS keyframes | Animated gradient, mesh gradient, aurora, breathing glow, scanline |+| Pure CSS keyframes | Animated gradient, mesh gradient, aurora, breathing glow, scanline, wave layers || CSS transition + JS timers | Light leak (random timing) || JS moving elements with `transform` | Floating elements, grid parallax (pointer events and a slow drift) |-| Canvas 2D | Grain (or an SVG noise filter), starfield, ambient ripple, abstract geometric, particle constellation, flow field, synthwave grid, matrix rain, plasma |+| Canvas 2D | Grain (or an SVG noise filter), starfield, ambient ripple, abstract geometric, particle constellation, flow field, synthwave grid, matrix rain, plasma, snow and rain, fireworks, topographic lines, light rays, game of life |## See also- [06 — 3D & Advanced](../06-3d-advanced/) — GPU-intensive effects; WebGL shaders and particlesdiff --git a/docs/launch-kit.md b/docs/launch-kit.mdindex 574259a5..23448a08 100644--- a/docs/launch-kit.md+++ b/docs/launch-kit.md@@ -10,7 +10,7 @@ quality is already there; this is the distribution layer. Work top to bottom.GitHub → repo **Settings** (or the ⚙️ next to "About" on the repo home page):**Description:**-> A visual reference of 129 web animation techniques — scroll effects, page transitions, micro-interactions, text, 3D, and ambient backgrounds. Every entry is a live, dependency-free demo.+> A visual reference of 158 web animation techniques — scroll effects, page transitions, micro-interactions, text, 3D, and ambient backgrounds. Every entry is a live, dependency-free demo.**Website:** `https://matinmonshizadeh.github.io/animation-handbook/`@@ -23,7 +23,7 @@ If you install the GitHub CLI (`gh`) later, this is one command:```bashgh repo edit matinmonshizadeh/animation-handbook \- --description "A visual reference of 129 web animation techniques — scroll effects, page transitions, micro-interactions, text, 3D, and ambient backgrounds. Every entry is a live, dependency-free demo." \+ --description "A visual reference of 158 web animation techniques — scroll effects, page transitions, micro-interactions, text, 3D, and ambient backgrounds. Every entry is a live, dependency-free demo." \--homepage "https://matinmonshizadeh.github.io/animation-handbook/" \--add-topic web-animation,css-animation,animation,frontend,web-development,javascript,motion-design,ui-animation,scroll-animation,microinteractions,webgl,awesome,reference,no-dependencies,github-pages```@@ -35,7 +35,7 @@ and share, which drives return visits.## 2. Verify SEO is live (after pushing)-- `https://matinmonshizadeh.github.io/animation-handbook/sitemap.xml` → should list 130 URLs+- `https://matinmonshizadeh.github.io/animation-handbook/sitemap.xml` → should list 159 URLs- `https://matinmonshizadeh.github.io/animation-handbook/robots.txt` → should load- Submit the sitemap to **Google Search Console** (add the property, then Sitemaps → submit `sitemap.xml`).- Test the social card at https://opengraph.xyz — paste the homepage URL, confirm the og-image shows.@@ -51,14 +51,14 @@ the hook.### Show HN (news.ycombinator.com/submit)**Title:**-> Show HN: Animation Handbook – 129 web animation techniques, each a live demo+> Show HN: Animation Handbook – 158 web animation techniques, each a live demo**URL:** `https://matinmonshizadeh.github.io/animation-handbook/`**First comment (post immediately after submitting):**> I kept re-googling the same animation techniques and landing on either a> library's marketing page or a CodePen with no explanation. So I built a-> reference: 129 techniques across scroll effects, page transitions,+> reference: 158 techniques across scroll effects, page transitions,> micro-interactions, text, 3D, and ambient backgrounds. Each one is a single> self-contained HTML file — no build step, no framework, no dependencies — with> a short README on the mechanic and the production gotchas. It's meant to teach@@ -68,7 +68,7 @@ the hook.### Reddit — r/webdev (Showoff Saturday) and r/Frontend**Title:**-> I built a handbook of 129 web animation techniques — every entry is a live, dependency-free demo+> I built a handbook of 158 web animation techniques — every entry is a live, dependency-free demo**Body:**> Reference site for web animation, organized into 7 categories (scroll, entrance/exit,@@ -81,7 +81,7 @@ the hook.### dev.to / Hashnode article-**Title:** `I catalogued 129 web animation techniques so you don't have to`+**Title:** `I catalogued 158 web animation techniques so you don't have to`**Outline:**1. The problem — animation knowledge is scattered across libraries and CodePens.@@ -94,7 +94,7 @@ the hook.### X / Bluesky thread-> 1/ I built Animation Handbook — 129 web animation techniques, each a live demo+> 1/ I built Animation Handbook — 158 web animation techniques, each a live demo> you can open and read how it works. No dependencies, no build step. 🧵 <GIF>>> 2/ Scroll effects, page transitions, micro-interactions, kinetic type, WebGL,@@ -111,7 +111,7 @@ awesome-web-animation) via PR.### Product Hunt-**Tagline:** `A live, dependency-free reference of 129 web animation techniques`+**Tagline:** `A live, dependency-free reference of 158 web animation techniques`Schedule for a Tuesday–Thursday 12:01am PT. Line up 5–10 people to comment/upvote early.---diff --git a/index.html b/index.htmlindex 0cc07191..7dbcafc3 100644--- a/index.html+++ b/index.html@@ -4,8 +4,8 @@<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="google-site-verification" content="2PnJemecfPix7j08I3cojuzPTfwKpwxxFMADFxv4wk8">-<title>Animation Handbook — 129 Web Animation Techniques with Live Demos</title>-<meta name="description" content="A visual reference of 129 web animation techniques — scroll effects, page transitions, micro-interactions, text animation, 3D, and ambient backgrounds. Every entry is a live, dependency-free demo with an explanation of how it works.">+<title>Animation Handbook — 158 Web Animation Techniques with Live Demos</title>+<meta name="description" content="A visual reference of 158 web animation techniques — scroll effects, page transitions, micro-interactions, text animation, 3D, and ambient backgrounds. Every entry is a live, dependency-free demo with an explanation of how it works."><meta name="keywords" content="web animation, CSS animation, animation examples, scroll animation, page transitions, micro-interactions, kinetic typography, WebGL, frontend animation reference, motion design, animation handbook"><meta name="author" content="matinmonshizadeh"><meta name="robots" content="index, follow, max-image-preview:large">@@ -18,8 +18,8 @@<!-- Open Graph --><meta property="og:type" content="website"><meta property="og:site_name" content="Animation Handbook">-<meta property="og:title" content="Animation Handbook — 129 Web Animation Techniques with Live Demos">-<meta property="og:description" content="A visual reference of 129 web animation techniques. Every entry is a live, dependency-free demo with an explanation of how it works.">+<meta property="og:title" content="Animation Handbook — 158 Web Animation Techniques with Live Demos">+<meta property="og:description" content="A visual reference of 158 web animation techniques. Every entry is a live, dependency-free demo with an explanation of how it works."><meta property="og:url" content="https://matinmonshizadeh.github.io/animation-handbook/"><meta property="og:image" content="https://matinmonshizadeh.github.io/animation-handbook/og-image.png"><meta property="og:image:width" content="1200">@@ -27,8 +27,8 @@<!-- Twitter --><meta name="twitter:card" content="summary_large_image">-<meta name="twitter:title" content="Animation Handbook — 129 Web Animation Techniques">-<meta name="twitter:description" content="A visual reference of 129 web animation techniques. Every entry is a live, dependency-free demo you can open in the browser.">+<meta name="twitter:title" content="Animation Handbook — 158 Web Animation Techniques">+<meta name="twitter:description" content="A visual reference of 158 web animation techniques. Every entry is a live, dependency-free demo you can open in the browser."><meta name="twitter:image" content="https://matinmonshizadeh.github.io/animation-handbook/og-image.png"><!-- Structured data: parsed by search + AI answer engines -->@@ -38,7 +38,7 @@"@type": "WebSite","name": "Animation Handbook","url": "https://matinmonshizadeh.github.io/animation-handbook/",- "description": "A visual reference of 129 web animation techniques, each with a live, dependency-free demo and an explanation of how it works.",+ "description": "A visual reference of 158 web animation techniques, each with a live, dependency-free demo and an explanation of how it works.","inLanguage": "en","author": { "@type": "Person", "name": "matinmonshizadeh" },"about": ["web animation", "CSS animation", "motion design", "frontend development"],@@ -1300,7 +1300,7 @@ button,input{font:inherit;color:inherit}<section class="wrap home-hero" aria-labelledby="hero-title"><span class="float fl1" aria-hidden="true"></span><span class="float fl2" aria-hidden="true"></span><span class="float fl3" aria-hidden="true"></span><span class="float fl4" aria-hidden="true"></span><span class="float fl5" aria-hidden="true"></span><span class="float fl6" aria-hidden="true"></span>- <p class="pill"><span class="pill-dot" aria-hidden="true"></span>155 free animations · no coding needed</p>+ <p class="pill"><span class="pill-dot" aria-hidden="true"></span>158 free animations · no coding needed</p><h1 class="h1" id="hero-title">What do you want to animate?</h1><p class="sub">Pick a place, or describe it in your own words. Every animation plays live, and each one comes with a ready-made prompt for your AI assistant.</p><form class="search" id="search-form" role="search" action="./" method="get">@@ -1357,8 +1357,8 @@ button,input{font:inherit;color:inherit}<p class="empty-s">Try a simpler word, or pick one of these:</p><p class="pop"><button type="button" data-q="fade in">fade in</button><button type="button" data-q="typing text">typing text</button><button type="button" data-q="loading spinner">loading spinner</button><button type="button" data-q="parallax">parallax</button><button type="button" data-q="confetti">confetti</button></p></div>- <div class="more" id="more"><button type="button" class="bigbtn" id="more-btn"><span id="more-label">Browse all 155 animations</span><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M6 13l6 6 6-6"/></svg></button></div>- <noscript><p class="noscript">This page shows its animations with JavaScript. All 155 are still easy to reach: see the <a href="https://github.com/matinmonshizadeh/animation-handbook#categories">category list on GitHub</a> or the <a href="sitemap.xml">full sitemap</a>. Each demo is a page of its own under <code>/animations/<category>/<name>/</code>.</p></noscript>+ <div class="more" id="more"><button type="button" class="bigbtn" id="more-btn"><span id="more-label">Browse all 158 animations</span><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M6 13l6 6 6-6"/></svg></button></div>+ <noscript><p class="noscript">This page shows its animations with JavaScript. All 158 are still easy to reach: see the <a href="https://github.com/matinmonshizadeh/animation-handbook#categories">category list on GitHub</a> or the <a href="sitemap.xml">full sitemap</a>. Each demo is a page of its own under <code>/animations/<category>/<name>/</code>.</p></noscript></section><section class="how" id="how" aria-labelledby="how-title">@@ -1376,7 +1376,7 @@ button,input{font:inherit;color:inherit}<footer class="wrap foot"><a class="brand" href="./"><svg class="mark" viewBox="0 0 32 32" aria-hidden="true"><circle class="ring" cx="11.16" cy="20.84" r="6.1"/><circle class="ring" cx="15.12" cy="16.88" r="6.1"/><circle class="ring" cx="18.51" cy="13.49" r="6.1"/><circle class="ball" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a>- <p class="foot-t">155 web animations with live demos and copyable prompts.</p>+ <p class="foot-t">158 web animations with live demos and copyable prompts.</p><nav class="nav" aria-label="Footer"><a class="lnk" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer">GitHub</a><a class="lnk" href="#top">Back to top</a></nav></footer><div class="toast" id="toast" role="status" aria-live="polite"><span class="ok" aria-hidden="true"><svg class="i" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="toast-t"></span></div>diff --git a/og-image.png b/og-image.pngindex d0bf766d..b101573b 100644Binary files a/og-image.png and b/og-image.png differ