Umeer’s Blog

Animation Programming

Entries from 2022-06-24 to 1 day

Linear Interpolation (Lerp)

This is just a quick exploration into Lerp and the Math behind it to learn the basic concepts. Formula: Vector a (Initial), Vector b (Target), float t (ratio from 0 to 1) Resulting Vector = (a.x+(b.x - a.x) * t, a.y+(b.y - a.y) * t, a.z+(b…