oneshotlm
Compare all models on this prompt →

Matrix digital rain · glm-5.2

Output generated Cost / run $0.0065 Runtime 42.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

modelglm-5.2
vendorZ.ai · GLM
harnesspi-agent
generated2026-07-08

METRICS

runtime42.6s
tokens in4.2k
tokens out1.5k
cached2.4k
cost / run$0.0065
Transcript · 4 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
Let me create a Matrix digital rain effect in a single index.html file.
→ write /workspace/index.html (4484 bytes)
toolResult

Successfully wrote 4484 bytes to /workspace/index.html

assistant

Created `index.html` — a self-contained Matrix digital rain effect. Key implementation details: - **Full-screen black canvas** that resizes to the viewport (with DPR scaling for crisp rendering). - **Half-width katakana glyphs** (U+FF66–U+FF9F) for the authentic Matrix look. - **Trailing fade**: each frame paints a translucent black rectangle (`rgba(0,0,0,0.08)`) over the canvas instead of clearing it, so previous glyphs fade out gradually. - **Brighter leading character**: the head glyph is drawn in near-white green (`#e6ffe6`) with a green glow (`shadowBlur`), while trailing glyphs fade from bright green to dark based on their distance from the head. - **Per-column state**: each column has its own random trail length, fall speed, and start offset, so streams don't move in lockstep. - **Subtle shimmer**: trailing glyphs occasionally mutate to a new katakana, and columns reset with fresh randomization once they fall off-screen. Open `index.html` in any browser to see it run.