oneshotlm
Compare all models on this prompt →

Flow-field particles · mistral-medium-3.1

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 (4709 bytes)
toolResult

Successfully wrote 4709 bytes to index.html

assistant

Created a self-contained `index.html` with a full-screen flow-field particle animation using p5.js. Features: - 5,000 particles advected by Perlin-noise vectors - Fading trails with semi-transparent background - Color shifts over time using HSB color space - Responsive to window resizing - Edge-wrapping particles - No external dependencies (uses local `p5.min.js`) Open the file in a browser to see the animation. The particles will follow the evolving flow field with smooth, organic motion.

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Flow-field particle trails with color shifts animate continuously, but persistent grid line artifacts suggest a rendering bug.

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 motion37.4%
on click39.1%
on drag39.0%
on wheel24.4%
on enter + space35.3%
on arrow keys35.3%
on w/a/s/d28.7%
frame spread30.9 / 255
console errors0
js errors none

METRICS

runtime12.9s
tokens in4.2k
tokens out1.4k
cached3.3k
cost / run$0.0032