oneshotlm
Compare all models on this prompt →

Boids flocking · mercury-2

Output generated Cost / run $0.0027 Runtime 8.8s

Prompt for this run

Create a full-screen flocking simulation of boids using separation, alignment, and cohesion, drawn as oriented triangles that steer smoothly and flee from the mouse cursor.

⛨ 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

runtime8.8s
tokens in4.5k
tokens out2.6k
cached1.5k
cost / run$0.0027
Transcript · 4 messages
user

Create a full-screen flocking simulation of boids using separation, alignment, and cohesion, drawn as oriented triangles that steer smoothly and flee from the mouse cursor.

assistant
→ write index.html (5424 bytes)
toolResult

Successfully wrote 5424 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It contains a full‑screen canvas that runs a flocking simulation of boids with separation, alignment, cohesion, oriented triangle rendering, smooth steering, and mouse‑flee behavior. No external resources are required; everything is self‑contained.