oneshotlm
Compare all models on this prompt →

Flow-field particles · gpt-4o-mini

Output generated Cost / run $0.0009 Runtime 9.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

modelgpt-4o-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22

METRICS

runtime9.7s
tokens in3.3k
tokens out892
cached1.9k
cost / run$0.0009
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
→ write index.html (2743 bytes)
toolResult

Successfully wrote 2743 bytes to index.html

assistant

The single-page web app has been created and written to `index.html`. It features a full-screen flow-field particle animation using the pre-provided `p5.min.js`. You can open the `index.html` file in a web browser to see the animation in action.