steerkit Reynolds' steering behaviors, small and engine-agnostic

Combining

Fairies that wander around the center and keep away from the pointer: three behaviors, one force. blend sums them by weight, so a strong pull home can cancel a flight from danger. prioritize spends a budget (maxForce) in order: keepAway first takes what it needs, then arrive, then wander gets what's left, or nothing.

  • velocity
  • desired velocity
  • steering force

TypeScript