oneshotlm
Compare all models on this prompt →

Flow-field particles · ministral-14b-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 (4507 bytes)
toolResult

Successfully wrote 4507 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** (10,000) advected by Perlin-noise-based vectors. 2. **Fading trails** for each particle, creating a smooth flow effect. 3. **Dynamic color shifts** over time using HSB color mode. 4. **Responsive design** that fills the entire screen and adjusts to window resizing. 5. **Optimized rendering** with transparent background for fading. ### Key Features: - **Flow Field**: Generated using Perlin noise for organic, fluid-like motion. - **Particle Trails**: Each particle leaves a fading trail for a dreamy effect. - **Color Shifting**: The hue of all particles shifts gradually over time. - **Performance**: Efficient rendering with minimal overhead. Open the `index.html` file 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-14b-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Dense colorful flow-field particle animation with fading trails, animates continuously but shows 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 motion29.0%
on click24.4%
on drag24.4%
on wheel23.7%
on enter + space23.4%
on arrow keys22.3%
on w/a/s/d23.2%
frame spread11.2 / 255
console errors0
js errors none

METRICS

runtime17.9s
tokens in5.8k
tokens out1.5k
cached4.7k
cost / run$0.0006