oneshotlm
Compare all models on this prompt →

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

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 ↗
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.

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

EVALUATION

4/5 working

Classic Matrix digital rain with fading green katakana columns and bright leading chars, animates continuously; inputs don't add extra interactivity.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion16.4%
on click18.0%
on drag16.9%
on wheel17.2%
on enter + space17.4%
on arrow keys22.0%
on w/a/s/d20.0%
frame spread8 / 255
console errors0
js errors none

METRICS

runtime7.4s
tokens in3.8k
tokens out1.1k
cached0
cost / run$0.0026