Where and how are interpolation values calculated?
See original GitHub issueI am learning as how are the interpolation tangents calculated, given some raw points. Consider I have star layer, and I am varying it’s outer radius over time. So according to the star layer documentation(link), at every keyframe, a key "i" and "o" will be calculated(link).
Now my question is where in the code are these values calculated? It would be much appreciated if someone could explain how these values are calculated or whether these values are constant. Thanks in Advance! ^__^
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Interpolation (Definition, Formula) | Calculation with Examples
Interpolation can be said as the method of determining the unknown value for any given set of functions with known values. The unknown...
Read more >How To Interpolate: Definition, Directions and Examples
Interpolation is the process of deducing the value between two points in a set of data. When you're looking at a line graph...
Read more >Interpolation Formula | Example with Excel Template - eduCBA
The formula for Interpolation can be calculated by using the following steps: Step 1: Firstly, identify the independent and dependent variables for the...
Read more >How to Interpolate: 3 Steps (with Pictures) - wikiHow
Find the interpolated value mathematically. Plugging in the values for y 1 and y 2 at the end of the equation gives (5...
Read more >Interpolation in Statistics: Definition, Formula & Example
1. Since we want the height of the tree after eight years, we will use the two data points closest to this value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Here is where the star is converted to a regular path https://github.com/airbnb/lottie-web/blob/98ff0e3094d7d3f595b815fe2d5063d37ee19f18/player/js/utils/shapes/ShapeProperty.js#L322 hot sure where you a referring to regarding “x” and “y”, can you provide more details?
@bodymovin any progress regarding this. Any help would be much appreciated. ^_^