Create an Array of frames using the easing specified. The array size numPoints large, which is by default 100. Easing can be use custom defined frame functions, so, instead of string you can use, e.g.
numPoints
GenerateSpringFrames({ easing: [SpringOutInFrame, 1, 100, 10, 0], numPoints: 100}) Copy
GenerateSpringFrames({ easing: [SpringOutInFrame, 1, 100, 10, 0], numPoints: 100})
Note: Be very careful of only setting some of the spring parameters, it can cause errors if you are not careful
Accepts EasingOptions
Based on https://github.com/w3c/csswg-drafts/issues/229#issuecomment-861415901
Generated using TypeDoc
Create an Array of frames using the easing specified. The array size
numPoints
large, which is by default 100. Easing can be use custom defined frame functions, so, instead of string you can use, e.g.Note: Be very careful of only setting some of the spring parameters, it can cause errors if you are not careful