oneshotlm
Compare all models on this prompt →

Matrix digital rain · minimax-m2

Output generated Cost / run $0.0030 Runtime 15.6s

Prompt for this run

Create the Matrix digital rain effect on a full-screen black canvas: columns of falling green katakana glyphs with a trailing fade and a brighter leading character.

⛨ sandboxed Open in new tab ↗

TAKE IT TO CODE

A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.

RUN

modelminimax-m2
vendorMiniMax
harnesspi-agent
generated2026-08-01

METRICS

runtime15.6s
tokens in6.7k
tokens out1.3k
cached0
cost / run$0.0030
Transcript · 6 messages
user

Create the Matrix digital rain effect on a full-screen black canvas: columns of falling green katakana glyphs with a trailing fade and a brighter leading character.

assistant
thinking
The user wants me to create a Matrix digital rain effect - the iconic visual from the Matrix movies. This should be:
- Full-screen black canvas
- Columns of falling green katakana glyphs
- Trailing fade effect (characters fade as they fall)
- Brighter leading character at the top of each column

I'll create a single self-contained HTML file with CSS and JavaScript. I need to:
1. Create a canvas that fills the screen
2. Generate random katakana characters
3. Create columns that fall at different speeds/positions
4. Implement the fade effect (brighter at the top, fading as it goes down)
5. Make the leading character brightest

Let me write this out.
→ write /tmp/ws/index.html (3888 bytes)
toolResult

Successfully wrote 3888 bytes to /tmp/ws/index.html

assistant
thinking
I've created the Matrix digital rain effect. Let me verify the file exists and check its content to make sure everything is correct.
→ bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 3980 Aug 1 20:17 /tmp/ws/index.html

assistant
thinking
The file was created successfully. Let me quickly read through it to verify it looks correct.

Done! I've created the Matrix digital rain effect in `/tmp/ws/index.html`. The effect includes: - **Full-screen black canvas** that fills the entire viewport - **Katakana glyphs** (Japanese characters) plus Latin letters and numbers falling in columns - **Trailing fade effect** - characters gradually fade to darker green as they fall - **Brighter leading character** - the topmost character in each column is brightest white-green (full opacity) - **Smooth animation** - uses `requestAnimationFrame` for smooth 60fps rendering - **Trail persistence** - a semi-transparent black overlay creates the classic ghosting trail effect - **Responsive** - handles window resize dynamically Open `index.html` in a browser to see the iconic Matrix rain effect.