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: word the loop comment of Synthwave Grid plainly
matin73ffaffce0e5
diff --git a/animations/07-ambient-background/synthwave-grid/index.html b/animations/07-ambient-background/synthwave-grid/index.htmlindex 63ca0fe3..90da121c 100644--- a/animations/07-ambient-background/synthwave-grid/index.html+++ b/animations/07-ambient-background/synthwave-grid/index.html@@ -183,8 +183,8 @@function frame(){drawSky();drawGrid();}// loop() keeps exactly one frame requested in raf; Pause cancels it and Play starts one loop again. At most one frame per- // 16 ms. A step is Speed x 0.02, or a third of that in slow motion, for every 60th of a second since the last frame (at- // most 50 ms's worth, so a background tab does not leap); the first frame after a start has nothing to measure from and adds none.+ // 16 ms. A step is Speed x 0.02, or a third of that in slow motion, for every 60th of a second since the last frame, never+ // more than 50 ms (a background tab does not leap); the first frame after a start has nothing to measure from and adds none.function loop(ts){raf=requestAnimationFrame(loop);if(lastT!==null&&ts-lastT<16)return;