Click the sky to redirect the flock
This top-down companion runs the exact same boids algorithm as the 3D butterfly migration scene — separation, alignment and cohesion forces between neighboring butterflies, layered with a steering force toward a shared migration target. The target drifts along a slow looping path by default, or you can click anywhere on the map to redirect the whole flock manually. Population, flock speed and wing-color palette all carry over as controls, letting you compare how flock size and cohesion strength change the emergent movement of the swarm.