175

Matrix Rain

Columns of characters fall like rain with trailing afterglow

BackgroundIdle loopBackground decorCanvasCanvas text

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

The whole area fills with columns of falling characters (katakana, numbers, Latin letters), each column at the same speed but a different starting point; the leading character is brightest and the ones behind it darken into a trail; on reaching the bottom, a column restarts from the top at random. A tech / hacker feel. (Canvas 2D: number of columns = width ÷ font size, each column tracks its current y; about every 55ms cover the whole canvas with a semi-transparent fill, then draw a random character at each column's position and move y down one row, resetting randomly once off-screen)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More background effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →