oneshotlm
Compare all models on this prompt →

Flow-field particles · gpt-4o-mini-2024-07-18

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
write index.html (2606 bytes)
toolResult

Successfully wrote 2606 bytes to index.html

assistant

The single-page web app has been created and written to `index.html`. It features a full-screen flow-field particle animation with thousands of particles that leave fading trails, utilizing Perlin noise vectors for particle motion. You can view the file in your browser to see the animation in action.

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-4o-mini-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Flow-field particle trails animate continuously in black/white, but colors don't visibly shift over time as prompt requested.

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 motion64.7%
on click56.3%
on drag45.6%
on wheel29.9%
on enter + space28.3%
on arrow keys21.8%
on w/a/s/d16.9%
frame spread42 / 255
console errors0
js errors none

METRICS

runtime10.7s
tokens in3.2k
tokens out763
cached1.8k
cost / run$0.0008