oneshotlm
Compare all models on this prompt →

Boids flocking · mistral-large-2512

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 /tmp/ws/index.html (9937 bytes)
toolResult

Successfully wrote 9937 bytes to /tmp/ws/index.html

assistant

The flocking simulation of boids is ready! Open `/tmp/ws/index.html` in a web browser to see: - **150 boids** (blue triangles) flying in a flock - **Flocking behaviors**: separation, alignment, and cohesion - **Mouse interaction**: boids flee from the cursor - **Edge wrapping**: boids reappear on the opposite side when they exit the screen - **Smooth steering**: boids orient themselves in the direction of movement The file is fully self-contained with no external dependencies. Refresh the page to restart the simulation.

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

EVALUATION

3/5 working

Boids flock into clusters as triangles with continuous motion, but flocks look sparse and mouse-flee interaction isn't clearly visible.

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 motion5.7%
on click4.1%
on drag3.8%
on wheel3.7%
on enter + space3.6%
on arrow keys3.6%
on w/a/s/d3.6%
frame spread11.1 / 255
console errors0
js errors none

METRICS

runtime31.1s
tokens in5.2k
tokens out2.5k
cached1.4k
cost / run$0.0057