oneshotlm
Compare all models on this prompt →

Flow-field particles · qwen3-30b-a3b-instruct-2507

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 a full-screen flow-field particle animation using p5.js with Perlin noise vectors, fading trails, and color shifting over time. The animation will run in a single self-contained index.html file.

write index.html (3816 bytes)
toolResult

Successfully wrote 3816 bytes to index.html

assistant

I've created a full-screen flow-field particle animation using p5.js with the following features: 1. Thousands of particles (2000) that follow Perlin noise-generated flow field vectors 2. Particles leave fading trails with color shifting over time 3. Color transitions use HSB color mode with a shifting hue over time 4. Particles wrap around screen edges 5. Responsive design that adapts to window size 6. Smooth animation with proper trail length management 7. Background fading for better trail visibility The animation uses Perlin noise to generate smooth, organic flow field vectors that guide the particles. The trails fade out over time with a gradient effect, creating a beautiful flowing visual. The colors shift continuously, creating a mesmerizing effect. The implementation is contained in a single self-contained index.html file with embedded CSS and JavaScript, using only the provided p5.min.js library without any external resources.

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

modelqwen3-30b-a3b-instruct-2507
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Colorful flow-field particle trails animate continuously; inputs don't visibly alter behavior beyond natural flow evolution.

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 motion44.2%
on click35.4%
on drag26.6%
on wheel20.2%
on enter + space23.5%
on arrow keys22.7%
on w/a/s/d17.1%
frame spread33.3 / 255
console errors0
js errors none

METRICS

runtime11.9s
tokens in4.4k
tokens out1.6k
cached2.2k
cost / run$0.0004