oneshotlm
Compare all models on this prompt →

Boids flocking · gpt-4o-mini

Output generated Cost / run $0.0015 Runtime 20.3s

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

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

METRICS

runtime20.3s
tokens in4.0k
tokens out1.8k
cached2.8k
cost / run$0.0015
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 (7493 bytes)
toolResult

Successfully wrote 7493 bytes to index.html

assistant

The full-screen flocking simulation of boids has been created and saved in the file `index.html`. You can view it by opening the file in a web browser.