/Gallery Web demo All effects ← Site

Matrix Rain

Green code cascades down the screen with fading trails.

Pixel Scenes · a single painted seed plus one Phlux rule, simulated live · 96×96 grid

Matrix Rain — animated pixel art loop generated in Phluxel
Every frame above was generated by the simulation, not drawn by hand.

The rule that makes it move

This is the whole thing. Phluxel runs it on every cell, every step — the animation is what happens when you repeat it.

Matrix RainPhlux
PARAM _rate = 5; PARAM _fade = 74; LET _g = {MAX, (N.G * 0.995), (G * _fade * 0.01)}; Y == 0 ? (RN < _rate ? [255, 190, 255, 190] : [255, 0, {SAT, G * _fade * 0.01}, 0]) : [255, {SAT, _g * 1.6 - 330}, _g, {SAT, _g * 1.6 - 370}]

Paste it into the Rule Editor, or pick Matrix Rain from the template list and skip the typing.

Make it yourself

  1. Open Phluxel and start a new field, or click Matrix Rain in the starter gallery to get this exact setup.
  2. Leave Wrap edges off — this one is meant to have real borders.
  3. Press play. Change colours or numbers while it runs; you never have to stop and restart.
  4. Export a seamless loop as GIF, APNG, MP4, a PNG sequence, or a sprite sheet.

Try it without installing anything

Phluxel runs in the browser as a demo, and the free desktop edition has every feature with a watermark on exports.

Open the browser demo Download free (Windows) Wishlist on Steam

More from Pixel Scenes

CampfireCrackling flames rise from glowing embers between the logs. Snowy NightSnow drifts down over a moonlit winter scene. Slime in RainA cheerful slime braves the rain — drops pass right behind it. Ghost WispsA pixel ghost sheds glowing soul-wisps that float away. All 62 effectsThe complete starter gallery.