The velocity is the initial velocity of the object attached to the spring.
Play with all 4 variables below!
In anime.js, you'd implement spring-based motion like this:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters