Barracuda School Hunt Lab (2D)
A top-down Canvas2D companion to the 3D barracuda lab: a flock of barracudas hunts through a reef channel using separation, alignment and cohesion steering, with prey density and synchronization sliders that reshape the school in real time.
This 2D companion drives the same separation/alignment/cohesion flocking model as the 3D barracuda scene through a plain top-down canvas: a side panel exposes the school size, prey density and synchronization, a live readout tracks cohesion, average speed and hunting progress, and baitfish markers respawn around the channel for the school to sweep through.
2D boids flocking lab: separation, alignment and cohesion forces steer a school of barracudas through a reef channel, with prey density driving a forward current and synchronization scaling the alignment weight.
2D Β· HTML5 Canvas 2D Β· 60 FPS target Β· runs fully client-side, no install