oneshotlm
Compare all models on this prompt →

Flow-field particles · gpt-4.1-mini

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 · 4 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

I'll create the full-page index.html with a p5.js flow field particle animation as you described. It will use thousands of particles advected by Perlin noise vector fields, with fading trail effect, and colors shifting over time. Now I'll write the full content in one file.

write index.html (3329 bytes)
toolResult

Successfully wrote 3329 bytes to index.html

assistant

I created an index.html file with a full-screen p5.js flow-field particle animation. It features thousands of particles advected by Perlin noise vectors, leaving fading trails with colors continuously shifting over time. Open index.html in a browser to see the animation running full screen. Let me know if you want any customization or additional features!

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

modelgpt-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Flow-field particle trails animate continuously on black background, but sparse coverage and no distinct response to inputs.

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 motion8.9%
on click7.6%
on drag5.1%
on enter + space4.1%
on arrow keys3.0%
on w/a/s/d2.4%
frame spread10.2 / 255
console errors0
js errors none

METRICS

runtime18.4s
tokens in3.6k
tokens out1.3k
cached2.2k
cost / run$0.0028