Matrix digital rain · qwen3.8-2.4t-a95b
Output generated Cost / run $0.0176 Runtime 23.1s
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.
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
METRICS
Transcript · 4 messages
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.
thinking
Write index.html for Matrix rain using canvas.
/tmp/ws/index.html (3635 bytes)Successfully wrote 3635 bytes to /tmp/ws/index.html
thinking
Complete. Please verify its existence.
Done — `/tmp/ws/index.html` is a single self-contained file with no external resources. **How the effect works:** - **Full-screen canvas** sized to the window, black background, re-initializes on resize - **Katakana glyphs** (U+30A0–U+30FF, plus a few digits/symbols) chosen randomly per character - **Trailing fade**: each frame paints a translucent black overlay (`rgba(0,0,0,0.08)`), so older glyphs gradually fade out instead of being cleared - **Brighter leading character**: the head of each column is drawn in near-white green (`#c8ffdc`), with a vivid green glyph right behind it, so the trail fades from bright head → green → black - **Variety**: each column has its own random speed, random restart delay after exiting the screen, and occasional random glyph mutations in the trail for a shimmer effect - Frame rate capped at ~30 FPS via `requestAnimationFrame` throttling for that classic stepped rain look Just open it in a browser — no network needed.