node package manager
Stop wasting time. Easily manage code sharing in your team. 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