Aquarium Fish Schooling (2D)
2D top-down aquarium: tune separation, alignment and cohesion weights to see how a school of fish forms, drop food with a click and watch the fish break formation to chase it.
This 2D companion to the 3D aquarium replaces its single wander-and-feed behavior with a real Reynolds boid model: separation, alignment and cohesion are exposed as independent sliders so you can watch a loose scatter of fish tighten into a coordinated school, or push separation to zero and watch them clump. Dropping food overrides the school forces locally, pulling nearby fish out of formation while the rest of the tank keeps schooling — a clear top-down view of how local rules produce global group behavior without any fish following a leader.
Top-down 2D aquarium where separation, alignment and cohesion sliders control how tightly a school of fish forms, with click-to-feed pulling nearby fish out of formation.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install