UNPKG

ts-useful

Version:

Functions for animation, color transitions, ecliptic, bezier, decasteljau, curves, three dimensional curves, smooth scrolling, random range, randomItem, mobius index, vectors, physics vectors, and easing.

17 lines (16 loc) 463 B
import { attractor } from './attractor'; import { boid } from './boid'; export type boidInternal = { speedLimitRoot: number; accelerationLimitRoot: number; speedLimit: number; accelerationLimit: number; separationDistance: number; alignmentDistance: number; cohesionDistance: number; separationForce: number; cohesionForce: number; alignmentForce: number; attractors: attractor[]; boids: boid[]; };