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: Wavy Text: See inside keeps all three captions at 320 with Wave height High, measuring the sink as six tenths of the rise
matin89feabdbb311
diff --git a/animations/05-text-typography/wavy-text/index.html b/animations/05-text-typography/wavy-text/index.htmlindex 56e028b9..35581215 100644--- a/animations/05-text-typography/wavy-text/index.html+++ b/animations/05-text-typography/wavy-text/index.html@@ -292,8 +292,8 @@}// Labels go in rows above and below the word and its bobbing; one that finds no room is left out.function place(){- const W=stage.clientWidth,H=stage.clientHeight,reach=nums().amp+6;- const above=wave.offsetTop-reach,below=H-(wave.offsetTop+wave.offsetHeight+reach);+ const W=stage.clientWidth,H=stage.clientHeight,amp=nums().amp; // the letters rise by the whole wave height but sink by six tenths of it+ const above=wave.offsetTop-amp-6,below=H-(wave.offsetTop+wave.offsetHeight+amp*.6+6);caps.forEach((c,i)=>{c.hidden=i===1&&wave.children.length<2;c.style.left=c.style.top='0px'});for(const shown=caps.filter(c=>!c.hidden);shown.length;shown.pop().hidden=true){const rows=[];