🦕 Triceratops Herd River Crossing (2D)
A top-down 2D flocking simulation: a triceratops herd swims a turbulent river, dodging rocks and shielding its juveniles, while holding formation through cohesion and separation forces.
⚙ Under the hood
Flocking forces (cohesion, separation, obstacle avoidance) plus a turbulent lateral river-current force drive the herd across; juveniles get an extra pull toward the adult centroid to stay shielded. Cohesion, crossing progress and herd energy update live.
TriceratopsHerd CrossingFlockingRiver Current
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install