steerkit Reynolds' steering behaviors, small and engine-agnostic

Keep away

Flee, but only within a radius, and harder the closer the threat gets: the force fades to nothing at the edge, so entering the zone doesn't jolt. A personal space around a point. Each agent here blends it with arrive, back to its own spot.

  • velocity
  • desired velocity
  • steering force

TypeScript