oneshotlm
Compare all models on this prompt →

Boids flocking · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0012 Runtime 17.6s

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-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime17.6s
tokens in3.7k
tokens out1.4k
cached2.4k
cost / run$0.0012
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 (5673 bytes)
toolResult

Successfully wrote 5673 bytes to index.html

assistant

The full-screen flocking simulation of boids has been created and saved in the file named `index.html`. You can open this file in a web browser to see the simulation in action.