genart genesis

2025.12
my self-guided introduction to generative art in the form of a month long series of daily challenges

Day 14, "Emerge". An implementation of Craig Reynolds' Boids algorithm for simulating flocking behavior in birds. Each boid follows three simple rules: separation (avoid crowding neighbors), alignment (steer towards average heading of neighbors), and cohesion (steer towards average position of neighbors).

The boids are then rendered with a mesh connecting nearby boids to create an emergent, organic structure that evolves over time.

Click the frame to restart. Click here to open full screen.