node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

vec2-animate

vec2-animate

Animate a vector.

leadVector = animate(followVector, speed, fr)

Whenever leadVector changes, move followVector towards it at speed units per second. (attemps to update at fr times per second)

License

MIT