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
fix: Scroll Velocity Skew: the spring caption keeps following Spring back under reduced motion, and the example dot is a solid ring
Clauded40f0abac23c
diff --git a/animations/01-scroll-based/scroll-velocity-skew/index.html b/animations/01-scroll-based/scroll-velocity-skew/index.htmlindex b6247de7..4b1eaefc 100644--- a/animations/01-scroll-based/scroll-velocity-skew/index.html+++ b/animations/01-scroll-based/scroll-velocity-skew/index.html@@ -61,7 +61,7 @@.ln{fill:none;stroke:var(--ui-accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.dot{position:absolute;left:0;top:0;width:10px;height:10px;border-radius:50%}.dot-live{background:#f4f4f2;border:2px solid var(--ui-accent)}- .dot-eg{display:none;border:2px dashed #f4f4f2;background:rgba(11,11,13,.9)}+ .dot-eg{display:none;border:2px solid #f4f4f2;background:rgba(11,11,13,.9)}.stage[data-hb-mode="inside"].posed .dot-eg{display:block}.stage[data-hb-mode="inside"].posed .dot-live{display:none}.plot>.cap{position:absolute;right:2px;top:0;white-space:nowrap}@@ -352,7 +352,7 @@// The words that follow the settings and reduced motion; the markup holds Medium's and Normal's, for the default statefunction words(){const say=(el,t)=>{if(el.textContent!==t)el.textContent=t};- document.querySelectorAll('.c-spring').forEach(el=>say(el,reduce?'Here the rows stay straight, as your device asks':'Straight again in '+SPRING[SMOOTH]));+ document.querySelectorAll('.c-spring').forEach(el=>say(el,(reduce?'Would be straight again in ':'Straight again in ')+SPRING[SMOOTH]));say(limitCap,`Dashed: a quick scroll, never past a ${LIMIT[MAX]} lean`);notes.forEach((n,i)=>say(n,reduce?NOTES_RM[i]:NOTES0[i]));}