oneshotlm
Compare all models on this prompt →

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

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 ↗
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.

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

EVALUATION

3/5 working

Boids render as small triangles moving/flocking continuously, but no visible mouse-flee or interaction response.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion8.6%
on click8.6%
on drag8.6%
on wheel8.7%
on enter + space8.6%
on arrow keys8.6%
on w/a/s/d8.7%
frame spread16.1 / 255
console errors0
js errors none

METRICS

runtime17.6s
tokens in3.7k
tokens out1.4k
cached2.4k
cost / run$0.0012