oneshotlm
Compare all models on this prompt →

Boids flocking · deepseek-chat

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 (9589 bytes)
toolResult

Successfully wrote 9589 bytes to index.html

assistant

I've created a full-screen flocking simulation of boids (oriented triangles) that implement separation, alignment, and cohesion behaviors. The boids also flee from the mouse cursor smoothly. The simulation is entirely self-contained in `index.html` with no external dependencies or network requests. Open the file in a browser to see the boids in action—they will steer dynamically and react to your mouse movements! Let me know if you'd like any adjustments or additional features.

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

modeldeepseek-chat
vendorDeepSeek
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Boids render as small triangles flocking in swirling clusters, but no visible cursor-flee reaction to click/drag/keys.

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 motion6.4%
on click6.5%
on drag6.5%
on wheel6.5%
on enter + space6.6%
on arrow keys6.6%
on w/a/s/d6.5%
frame spread18 / 255
console errors0
js errors none

METRICS

runtime75.4s
tokens in5.6k
tokens out2.5k
cached0
cost / run$0.0031