oneshotlm
Compare all models on this prompt →

Boids flocking · qwen3-30b-a3b-instruct-2507

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

I'll create a full-screen flocking simulation of boids using separation, alignment, and cohesion with smooth steering and mouse fleeing. All code will be in a single self-contained HTML file.

write index.html (12063 bytes)
toolResult

Successfully wrote 12063 bytes to index.html

assistant

I've created a full-screen flocking simulation of boids with all the requested features: - Separation, alignment, and cohesion behaviors for realistic flocking - Boids drawn as oriented triangles that rotate based on their velocity - Smooth steering through velocity and acceleration calculations - Mouse cursor fleeing behavior where boids flee from the mouse - Edge wrapping so boids don't leave the screen - Responsive design that works on any screen size - Visual enhancements with gradients and highlights for the boids The simulation runs in a single self-contained HTML file with no external dependencies. Simply open the file in any modern browser to see the boids flocking and reacting to your mouse movement.

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-30b-a3b-instruct-2507
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Boid-like triangles with motion trails flock and drift continuously, click causes visible flee/scatter reaction, other inputs show little change.

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 motion11.8%
on click11.8%
on drag12.1%
on wheel12.1%
on enter + space12.0%
on arrow keys12.0%
on w/a/s/d11.8%
frame spread10.2 / 255
console errors0
js errors none

METRICS

runtime14.5s
tokens in5.6k
tokens out2.8k
cached2.1k
cost / run$0.0007