oneshotlm
Compare all models on this prompt →

Boids flocking · qwen3-next-80b-a3b-instruct

Output generated Cost / run $0.0032 Runtime 20.0s

Prompt for this run

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 ↗

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

METRICS

runtime20.0s
tokens in5.4k
tokens out2.5k
cached2.2k
cost / run$0.0032
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 with separation, alignment, cohesion, and mouse avoidance using HTML, CSS, and JavaScript in a single index.html file.

→ write index.html (10294 bytes)
toolResult

Successfully wrote 10294 bytes to index.html

assistant

I've created a full-screen boid flocking simulation with all the requested features: - Separation, alignment, and cohesion behaviors - Boids drawn as oriented triangles that steer smoothly - Mouse cursor repulsion (boids flee from the mouse) - No external resources - completely self-contained in index.html - Full-screen responsive canvas - Smooth animation with physics-based movement The simulation runs entirely in the browser with no network requests. You can interact with it by moving your mouse cursor - the boids will avoid it while maintaining their flocking behavior.