oneshotlm
Compare all models on this prompt →

Flow-field particles · ministral-8b-2512

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
read {"path":"p5.min.js"}
toolResult

/*! p5.js v1.9.4 May 21, 2024 */ [Showing lines 1-1 of 2 (50.0KB limit). Use offset=2 to continue.]

assistant
write index.html (3748 bytes)
toolResult

Successfully wrote 3748 bytes to index.html

assistant

The `index.html` file has been created with a full-screen flow-field particle animation using p5.js. Here's what it includes: 1. **Thousands of particles** advected by Perlin-noise vectors. 2. **Fading trails** left by particles as they move. 3. **Color shifting** over time using HSB color mode for vibrant effects. ### Key Features: - **Perlin Noise**: Controls particle movement for organic, flowing patterns. - **Trails**: Particles leave fading trails with varying opacity. - **Dynamic Colors**: Colors shift smoothly over time using `colorShift`. - **Full-Screen**: Responsive to window resizing. Open `index.html` in a 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

modelministral-8b-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Flow-field particle trails animate continuously but oversaturate into a dense orange mass, lacking clear color shifts or fading.

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 motion12.2%
on click60.2%
frame spread25.7 / 255
console errors0
js errors none

METRICS

runtime13.3s
tokens in5.7k
tokens out1.3k
cached3.8k
cost / run$0.0005