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: describe data-hb-motion-note in CLAUDE.md and CONTRIBUTING.md
matin5c11ce16909f
diff --git a/CLAUDE.md b/CLAUDE.mdindex 5831b6bb..e174b5e9 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -89,6 +89,10 @@ of each, and the Loop and Slow motion switches start unchecked.it restarts from the top if already at the end, with CSS snapping off while it runs) until the visitor's owninput in the stage stops it; `data-hb-top` stops it and jumps to the top; `data-hb-scroller` marks thescroller when it is not the stage.+- `data-hb-motion-note` (scroll pages only): on the body, one sentence with no full stop, for a page where+ reduced motion switches an effect off instead of only stopping its animation ("The layers stay still while+ the box scrolls"). The player bar shows it under reduced motion, followed by " because your device is set to+ reduce motion.", in place of the usual "The effects follow the scroll without animating".A setting change replays a plays-once demo about 250 ms later; on other kinds it shows while the demo runs orat the next Show me, Play or interaction. Three owner rulings hold on every page: Pause freezes the stage atdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 6dc29548..9378fd26 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -135,6 +135,12 @@ page of the same kind. A few details:stage's CSS animations; with no value the demo does it itself.- On a scroll page the scroller is the stage, or the element marked `data-hb-scroller`. Playscrolls it at a steady speed and any real input in the stage stops it.+- `data-hb-motion-note` on the body of a scroll page (and only there) sets the note that+ reduced motion shows in the player bar. Use it when reduced motion switches an effect off+ instead of only stopping its animation, and write one sentence with no full stop ("The+ layers stay still while the box scrolls"); the shared script adds " because your device is+ set to reduce motion." Without it the note reads "The effects follow the scroll without+ animating".- `data-hb-skip` leaves a control out of "Your settings"; `data-hb-label` sets its label.Three rulings hold on every page: Pause freezes the stage at once (running transitions and