Creating Matrix Rain in After Effects — Step-by-Step Tutorial
Overview
Create the iconic “Matrix rain” falling code effect using Adobe After Effects (any recent version). This tutorial produces adjustable, loopable green falling characters with glow and depth.
Project setup
- New Composition: 1920×1080, 30 fps, duration 10s.
- Create a Solid: Layer > New > Solid. Name it “Rain Base” (black).
Create the character source
- Text Layer: Layer > New > Text. Type a long string of characters (use Japanese katakana, numbers, letters or custom glyphs). Set text color to bright green (#00FF70).
- Convert to Editable Text: Increase font size to ~24–48 depending on look. Use a monospaced or digital-style font for consistency.
- Precompose: Select the text layer > Layer > Pre-compose > Move all attributes into new composition. Name it “Chars Precomp”.
Turn characters into a particle source
- Add Slider Control: Effects & Presets > Expression Controls > Slider Control to “Chars Precomp” (rename “Char Size”). Set default 0 (used later if desired).
- Create a new Solid: Layer > New > Solid, name “Emitter”. Apply Effects > Generate > CC Particle World (or Trapcode Particular if available — Particular gives more control).
Configure CC Particle World (basic)
- Producer > Position: X=960, Y=-100, Z=0 (start above frame).
- Producer > Radius X: 1000 (spread across width). Radius Y: 0. Radius Z: 0.
- Physics > Animation: Direction Axis. Velocity: 1–3 (lower for slow fall). Gravity: 0.2–0.6.
- Particle > Particle Type: Textured Disc. Birth Size/Death Size: 0.05–0.2 (adjust). Opacity Map > use default.
Use the text precomp as particle texture
- In CC Particle World > Particle > Texture Layer: choose “Chars Precomp” from the dropdown.
- Set Texture Animation to “None” (we’ll animate with other methods).
- Set Birth/Death Color to bright green and adjust opacity.
Create streaking / trailing effect
Option A — Motion Blur & Echo:
- Enable Motion Blur on the Emitter layer and the comp-wide Motion Blur switch.
- Effects > Time > Echo on the precomp or duplicated particle layer: Echo Time ~ -0.02, Number of Echoes 6–12, Decay 0.6.
Option B — Use CC Force Motion Blur (or Trapcode Particular with Built-in trails) for smoother trails.
Add variation and falling streams
- Duplicate the Emitter layer 3–6 times; stagger their Start Times and slightly vary Producer X positions and Velocity/Gravity to create distinct streams.
- For vertical streaks, set Physics > Animation to Direction Axis and adjust Direction
Leave a Reply
You must be logged in to post a comment.