Home▸Animals & Their World▸Triceratops Herd River Crossing (2D)

🦕 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.

Animals & Their World2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-triceratops-herd-river-crossing-lab ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)