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

METRICS

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