oneshotlm
Compare all models on this prompt →

Boids flocking · mistral-medium-3.1

Output generated Cost / run $0.0073 Runtime 28.9s

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime28.9s
tokens in6.2k
tokens out3.5k
cached6.0k
cost / run$0.0073
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 (14405 bytes)
toolResult

Successfully wrote 14405 bytes to index.html

assistant

Created a self-contained, full-screen flocking simulation in `index.html` with: - **Boids** (150) as oriented triangles with trails - **Flocking behaviors**: separation, alignment, cohesion - **Mouse interaction**: boids flee from cursor - **Visuals**: smooth steering, trails, full-screen canvas - **No dependencies**: pure HTML/CSS/JS, no external resources Open `index.html` in a browser to run. Use your mouse to interact with the boids.