oneshotlm
Compare all models on this prompt →

Flow-field particles · qwen3-next-80b-a3b-instruct

Output generated Cost / run $0.0022 Runtime 8.5s

Prompt for this run

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 ↗

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-next-80b-a3b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime8.5s
tokens in6.1k
tokens out1.5k
cached0
cost / run$0.0022
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

I'll create a full-screen flow-field particle animation using p5.js with Perlin noise vectors, fading trails, and color shifting over time. All code will be in a single index

→ bash {"command":"ls -la p5.min.js"}
toolResult

-rw-r--r--. 1 node node 1034532 Aug 1 17:52 p5.min.js

assistant

I see that p5.min.js is available in the current directory. Now I'll create a single-page web app with the flow-field particle animation as

→ write index.html (4666 bytes)
toolResult

Successfully wrote 4666 bytes to index.html

assistant

I've created a full-screen flow-field particle animation with the following features: - Thousands of particles (5,000) advected by a Perlin noise flow field - Fading trails that leave beautiful streaks behind each particle - Colors that smoothly shift over time using HSB color mode - Particles that bounce off screen edges - Full-screen responsive design - No external resources - all code is self-contained in index.html with the provided p5.min.js The animation uses Perlin noise to generate a dynamic flow field that guides the particles in organic, flowing patterns. Each particle leaves a fading trail that creates beautiful fluid-like motion, and the colors continuously shift through the hue spectrum. The file index.html is now ready in the current directory and can be opened in any modern browser.