oneshotlm
Compare all models on this prompt →

Boids flocking · inkling-small

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 · 5 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
thinking
The user wants a single-file flocking simulation. I'll create index.html with canvas-based boids using separation, alignment, cohesion, plus mouse avoidance, drawn as oriented triangles with smooth steering.
write /tmp/ws/index.html (5618 bytes)
bash {"command":"ls -la index.html && wc -l index.html"}
toolResult

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

toolResult

-rw-r--r--. 1 node node 0 Aug 1 19:47 index.html 150 index.html

assistant

Created `index.html` — a self-contained full-screen flocking simulation with280 oriented triangle boids, separation/alignment/cohesion steering, smooth velocity limits, mouse-cursor flee behavior, and subtle trailing fade. No external resources.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Boids flock and swirl smoothly, forming a ring around the mouse cursor with fleeing/orbiting behavior on click and drag.

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 motion16.6%
on click18.1%
on drag11.6%
on wheel7.5%
on enter + space6.0%
on arrow keys4.2%
on w/a/s/d3.6%
frame spread24.1 / 255
console errors1
js errors none

METRICS

runtime15.4s
tokens in4.8k
tokens out2.2k
cached1.7k
cost / run$0.0081