oneshotlm
Compare all models on this prompt →

Flow-field particles · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0008 Runtime 10.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-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime10.7s
tokens in3.2k
tokens out763
cached1.8k
cost / run$0.0008
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 (2606 bytes)
toolResult

Successfully wrote 2606 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 with thousands of particles that leave fading trails, utilizing Perlin noise vectors for particle motion. You can view the file in your browser to see the animation in action.