Useful functions for game designers - Lagrange Interpolation
The Art of Code
In science, technology and engineering it is very common to have to interpolate between data points. One of the many ways to do this is through Lagrange interpolation. In this video I'll go through how it works and if you go to desmos.com you can follow right along.
========== Social Media Links ==========
Twitter: @The_ArtOfCode Facebook: https://www.facebook.com/groups/theartofcode/ Patreon: https://www.patreon.com/TheArtOfCode ShaderToy: https://www.shadertoy.com/user/BigWIngs PayPal Donation: https://paypal.me/theartofcode
========== If you want to follow along ==========
Starting point: https://www.desmos.com
End Point: https://www.desmos.com/calculator/zsnqrj1xu3
========== Other videos to watch ==========
Check out my video about linear interpolation: https://www.youtube.com/watch?v=NO5JGFJJ_Kk
Or using smooth minimums: https://www.youtube.com/watch?v=YJ4iyff7zbk
Or using Hermite interpolation (smoothstep): https://www.youtube.com/watch?v=60VoL-F-jIQ ... https://www.youtube.com/watch?v=4S6G-zenbFM
105861318 Bytes