Boids flocking · mercury-2
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.
index.html (5424 bytes)Successfully wrote 5424 bytes to index.html
The **index.html** file has been created in the current directory. It contains a full‑screen canvas that runs a flocking simulation of boids with separation, alignment, cohesion, oriented triangle rendering, smooth steering, and mouse‑flee behavior. No external resources are required; everything is self‑contained.
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 rendered as small triangles flock and drift smoothly across the screen, consistent with idle animation and slight variance on input.
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.