oneshotlm
Compare all models on this prompt →

Flow-field particles · mercury-2

Output generated Cost / run $0.0016 Runtime 4.3s

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime4.3s
tokens in5.2k
tokens out1.1k
cached2.2k
cost / run$0.0016
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
→ bash {"command":"ls -l"}
toolResult

total 1012 -rw-r--r--. 1 node node 1034532 Aug 1 20:24 p5.min.js

assistant
→ write index.html (2166 bytes)
toolResult

Successfully wrote 2166 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It loads the provided `p5.min.js` script and implements a full‑screen flow‑field particle animation with thousands of particles advected by Perlin‑noise vectors, fading trails, and continuously shifting colors. The page runs entirely offline with no external resources.