oneshotlm
Compare all models on this prompt →

Boids flocking · qwen3-vl-32b-instruct

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

Successfully wrote 7939 bytes to index.html

assistant

I've created 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. The simulation is implemented in a single self-contained HTML file with inline CSS and JavaScript. The key features include: - Boids represented as oriented triangles that follow flocking rules - Three main behaviors: separation (avoid crowding), alignment (match neighbors' velocity), and cohesion (move toward neighbors' average position) - Flee behavior that makes boids avoid the mouse cursor - Smooth steering with force limiting and speed constraints - Full-screen canvas that resizes with the window - Colorful boids with random hues for visual distinction The simulation runs entirely offline with no external resources or network requests. You can open index.html in any modern browser to see the flocking behavior 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

modelqwen3-vl-32b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

2/5 partial

Only a handful of tiny colored triangles drift on a mostly empty black screen; barely resembles a flock.

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 motion0.4%
on click0.3%
on drag0.3%
on wheel0.1%
on enter + space0.1%
on arrow keys0.1%
on w/a/s/d0.1%
frame spread4.9 / 255
console errors0
js errors none

METRICS

runtime38.0s
tokens in5.4k
tokens out2.6k
cached0
cost / run$0.0016