oneshotlm
Compare all models on this prompt →

Flow-field particles · mistral-large-2512

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

modelmistral-large-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime20.7s
tokens in4.4k
tokens out1.5k
cached2.1k
cost / run$0.0035
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 (5180 bytes)
toolResult

Successfully wrote 5180 bytes to index.html

assistant

The full-screen flow-field particle animation is ready in `/tmp/ws/index.html`. Open it in any modern browser to see: - **3000 particles** advected by a Perlin-noise flow field - **Fading trails** (smoothly decaying background) - **Hue-shifting colors** over time - **Responsive** to window resizing - **No external resources** (fully self-contained) Just double-click the file or open it via `file:///tmp/ws/index.html`.