oneshotlm
Compare all models on this prompt →

Matrix digital rain · gemini-3.1-flash-lite-preview

Output generated Cost / run $0.0026 Runtime 7.4s

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

modelgemini-3.1-flash-lite-preview
vendorGoogle
harnesspi-agent
generated2026-07-22

METRICS

runtime7.4s
tokens in3.8k
tokens out1.1k
cached0
cost / run$0.0026
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
**Developing Digital Rain**

I'm focusing on the "Matrix digital rain" effect, aiming for an `index.html` file that is self-contained. The goal is no external resources, black background, green katakana glyphs in vertical columns, with trailing fade and a bright lead character. The `<canvas>` element seems key for this.


**Refining Column Logic**

I've been refining the column handling. I'm calculating the number of columns based on font size and screen width. Animation will use `requestAnimationFrame`. For the fade effect, I will be using a semi-transparent black rectangle, or adjusting opacity, to draw the trail. I'm focusing on the Unicode range for Katakana characters. I'm also planning to reset the character y-position to the top randomly.


→ write index.html (2389 bytes)
toolResult

Successfully wrote 2389 bytes to index.html

assistant

The Matrix digital rain effect has been implemented in a single `index.html` file. It features a responsive full-screen canvas, trailing fade, and brighter leading characters using the Katakana Unicode range. You can open `index.html` in any web browser to view the effect.