oneshotlm
Compare all models on this prompt →

Flow-field particles · ling-2.6-flash

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 vector field, thousands of particles with fading trails, and color shifting over time. Here's the complete single HTML file:

write /tmp/ws/index.html (3470 bytes)
toolResult

Successfully wrote 3470 bytes to /tmp/ws/index.html

assistant

The file has been created at `/tmp/ws/index.html`. It contains a full-screen flow-field particle animation with: - **Flow field vector grid**: Built using 3D Perlin noise (x, y, z offsets) to create evolving directional vectors - **2,000 particles**: Each particle advects along the flow field, drawing a line from its previous position - **Fading trails**: A semi-transparent black overlay (`fadeAmount = 0.992`) creates persistent, decaying trails - **Color shifting**: The hue value increments each frame, cycling the particle color through the spectrum - **Wrapping edges**: Particles wrap around screen edges for continuous motion - **Responsive**: Automatically resizes when the window changes The animation uses `p5.Vector` for clean flow field math, with noise values mapped to rotation angles that create swirling, organic particle paths.

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

modelling-2.6-flash
vendorinclusionai
harnesspi-agent
generated2026-08-01

EVALUATION

1/5 broken

Completely black canvas throughout; JS error on load prevented particle rendering.

off-prompt

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 motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread0.3 / 255
console errors0
js errors
  • Cannot read properties of undefined (reading 'copy')

METRICS

runtime16.6s
tokens in4.5k
tokens out1.4k
cached0
cost / run$0.0001