Boids flocking · mistral-medium-3.1
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 (14405 bytes)Successfully wrote 14405 bytes to index.html
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.
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
Green triangular boids flock and drift continuously; some odd horizontal green line artifacts appear but flocking behavior looks functional.
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.