oneshotlm
Compare all models on this prompt →

Flow-field particles · mercury-2

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
bash {"command":"ls -l"}
toolResult

total 1012 -rw-r--r--. 1 node node 1034532 Aug 1 20:24 p5.min.js

assistant
write index.html (2166 bytes)
toolResult

Successfully wrote 2166 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It loads the provided `p5.min.js` script and implements a full‑screen flow‑field particle animation with thousands of particles advected by Perlin‑noise vectors, fading trails, and continuously shifting colors. The page runs entirely offline with no external resources.

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Flow-field particle trails with grid-like lines and color shifting over time, but pattern looks rigid/grid-locked rather than organic.

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 motion4.1%
on click7.9%
on drag3.2%
on wheel1.8%
on enter + space1.1%
on arrow keys0.8%
on w/a/s/d0.3%
frame spread22.9 / 255
console errors0
js errors none

METRICS

runtime4.3s
tokens in5.2k
tokens out1.1k
cached2.2k
cost / run$0.0016