oneshotlm
Compare all models on this prompt →

Flow-field particles · claude-opus-5

Using the pre-provided p5.min.js (global p5, instance or global mode), create a full-screen flow-field particle animation: thousands of particles advected by Perlin-noise vectors, leaving fading trails, with colors shifting over time.

⛨ sandboxed Open in new tab ↗
transcript · 6 messages
user

Using the pre-provided p5.min.js (global p5, instance or global mode), create a full-screen flow-field particle animation: thousands of particles advected by Perlin-noise vectors, leaving fading trails, with colors shifting over time.

assistant
thinking
I'm starting to write the HTML file.
bash {"command":"ls /tmp/ws"}
toolResult

p5.min.js

assistant
thinking
I'm creating the HTML file to structure the page.
write /tmp/ws/index.html (5264 bytes)
toolResult

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

assistant

Created `/tmp/ws/index.html` — full-screen p5 flow field: - Thousands of particles (auto-scaled to viewport, 1.5k–9k) advected by a 3D Perlin-noise vector grid that slowly evolves. - Fading trails via a translucent overlay; `t` toggles infinite trails. - HSB colors drift over time (hue base + speed + position offsets). - Particles wrap edges, respawn on life expiry; drag mouse to attract. - Keys: space pause, `c` clear, `n` new noise field, `t` trails, `h` hide HUD.

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

modelclaude-opus-5
vendorAnthropic · Claude
harnesspi-agent
generated2026-08-03

EVALUATION

4/5 working

Animated flow field of particles with continuous motion; mouse/wheel affect flow colors, keys mostly no visual change (space likely pauses).

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 motion34.9%
on click33.9%
on drag31.2%
on wheel27.2%
on enter + space7.6%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread24.1 / 255
console errors0
js errors none

METRICS

runtime35.9s
tokens in10.0k
tokens out2.9k
cached7.1k
cost / run$0.0930