oneshotlm
Compare all models on this prompt →

Flow-field particles · nova-2-lite-v1

Output generated Cost / run $0.0155 Runtime 43.7s

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

modelnova-2-lite-v1
vendorAmazon · Nova
harnesspi-agent
generated2026-08-01

METRICS

runtime43.7s
tokens in7.6k
tokens out5.3k
cached0
cost / run$0.0155
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
[REDACTED].
→ read {"path":"p5.min.js","offset":1,"limit":10}
toolResult

/*! p5.js v1.9.4 May 21, 2024 */ [Showing lines 1-1 of 2 (50.0KB limit). Use offset=2 to continue.]

assistant
thinking
[REDACTED].
→ write index.html (1738 bytes)
toolResult

Successfully wrote 1738 bytes to index.html

assistant
thinking
[REDACTED].

✅ Created `index.html` with a full-screen flow-field particle system: - **5000 particles** with fading trails (semi-transparent overlay) - **Perlin noise vectors** (3D noise field using position + time) - **Color shifting** based on position and time (HSB color mode) - **Edge wrapping** for seamless particle flow - Responsive to window resizing Open `index.html` in a browser to see the animation. The particles will move in a dynamic flow field with smoothly shifting colors and fading trails.