Boids flocking · mistral-large-2512
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.
transcript · 4 messages
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.
/tmp/ws/index.html (9937 bytes)Successfully wrote 9937 bytes to /tmp/ws/index.html
The flocking simulation of boids is ready! Open `/tmp/ws/index.html` in a web browser to see: - **150 boids** (blue triangles) flying in a flock - **Flocking behaviors**: separation, alignment, and cohesion - **Mouse interaction**: boids flee from the cursor - **Edge wrapping**: boids reappear on the opposite side when they exit the screen - **Smooth steering**: boids orient themselves in the direction of movement The file is fully self-contained with no external dependencies. Refresh the page to restart the simulation.
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
EVALUATION
Boids flock into clusters as triangles with continuous motion, but flocks look sparse and mouse-flee interaction isn't clearly visible.
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.