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: open Matrix Rain on a spread of columns so Play no longer thins the picture
matinbdb2c106b3a1
diff --git a/animations/07-ambient-background/matrix-rain/index.html b/animations/07-ambient-background/matrix-rain/index.htmlindex e9610049..1fd09905 100644--- a/animations/07-ambient-background/matrix-rain/index.html+++ b/animations/07-ambient-background/matrix-rain/index.html@@ -201,12 +201,11 @@unseen=false;}- // A settled picture of rain. The canvas and the columns are dealt afresh first, so no trace of an earlier picture- // stays, then one and a half screens' worth of steps run: every column has entered view and most show a bright- // leader with its trail behind it.+ // A settled picture of rain: columns dealt afresh over a whole cycle (above, on and below the screen) on a black+ // canvas, then a screen of steps, so it looks like rain in full flow.function paintStatic(){- deal();- const n=Math.ceil(1.5*H/fontSize);+ const rows=H/fontSize;drops=Array.from({length:cols},()=>Math.floor(Math.random()*3*rows-2*rows));ctx.fillStyle='#000';ctx.fillRect(0,0,W,H);+ const n=Math.ceil(rows);for(let i=0;i<n;i++)step();}function restart(){resize();paintStatic();}