Useful functions for game designers - Cosine Interpolation

The Art of Code Video 4 years ago

Description

While working on a previous video about Lagrange interpolation, I figured that it would be an interesting exercise to go over some other kinds of interpolation. In this video we go over piecewise linear, and cosine interpolations.

========== 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/cfumbhj3yk

========== Other videos to watch ==========

Linear interpolation:
https://www.youtube.com/watch?v=NO5JGFJJ_Kk

Lagrange interpolation:
https://www.youtube.com/watch?v=4S6G-zenbFM

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