oneshotlm
Compare all models on this prompt →

Flow-field particles · nemotron-3-ultra-550b-a55b

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
thinking
The user wants a full-screen flow-field particle animation using p5.js. Let me create a single HTML file with inline CSS and JavaScript that:
1. Uses the pre-provided p5.min.js
2. Creates thousands of particles advected by Perlin noise vectors
3. Has fading trails
4. Colors shift over time
5. Full-screen

I'll write this as a single index.html file.
write /workspace/index.html (4761 bytes)
toolResult

Successfully wrote 4761 bytes to /workspace/index.html

assistant
thinking
I've created the index.html file with a full-screen flow-field particle animation using p5.js. Let me verify it exists and check if p5.min.js is present in the workspace.
bash {"command":"ls -la /workspace/"}
toolResult

total 1036 drwxrwxrwx 4 node node 128 Jul 22 16:56 . drwxr-xr-x 1 root root 4096 Jul 22 16:56 .. -rw-r--r-- 1 node node 4761 Jul 22 16:56 index.html -rw-r--r-- 1 node node 1034532 Jul 22 16:56 p5.min.js

assistant
thinking
Both files are present. The index.html is created and p5.min.js is already in the workspace. The task is complete.

Done. Created `/workspace/index.html` with a full-screen flow-field particle animation featuring: - **6000 particles** advected by a Perlin-noise vector field (3D noise with animated z-offset) - **Fading trails** via semi-transparent background (`background(0, 0, 0, 0.08)`) - **Color shifting** over time using HSB mode with global `hueOffset` + position-based variation - **Dynamic line weights** based on particle velocity - **Particle lifecycle** — particles reset after random lifetime for continuous renewal - **Wrap-around edges** for seamless flow - **Responsive** — handles window resize Open `index.html` in a browser to view.

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

modelnemotron-3-ultra-550b-a55b
vendorNVIDIA
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Continuously animating flow-field particle trails with rainbow colors, evolving over time regardless of input.

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 motion51.1%
on click50.3%
on drag51.7%
on wheel53.2%
on enter + space52.1%
on arrow keys50.7%
on w/a/s/d52.3%
frame spread26.5 / 255
console errors0
js errors none

METRICS

runtime6.9s
tokens in8.5k
tokens out1.7k
cached0
cost / run$0.0080