Lerp and Easing @derekbanas
Lerp and Easing  @derekbanas
Uploaded September 2026 | Updated December 2026, 3 hours ago
Lerp is one line. `a + (b - a) * u`. At u = 0 you are at the start, at u = 1
you are at the end, and anything in between is proportionally in between.

Easing is not a different function. It is the same lerp with a curved u
instead of a straight one and `u * u * (3 - 2 * u)`, smoothstep, is the one worth memorizing, because it makes almost any motion feel deliberate.

Then the half that matters: `pos += (target - pos) * 0.1` every frame is how every camera, every paddle and every draining health bar in every game you have played is written. It never quite arrives, which is exactly why it looks smooth and that 0.1 is per frame, not per second, so your camera is a different camera on a 144Hz monitor than it was on the machine you tuned it on.

The fix is `1 - Math.pow(1 - rate, dt * 60)`, not `rate * dt`. A multiply is a
straight line drawn through an exponential: it can pass 1, and then the camera jumps past the player.

Game Shorts #6. One mechanic per video, then the full game in long form
Lerp and EasingLearn Chess with Me LivestreamMicrosoft Excel Tutorial for Beginners  | Full CourseChess Livestream & Ask Me Anything.NET MAUI Tutorial Full CourseHow to Outline Your Novel Chapter by ChapterTechnical Analysis : RSI & Bollinger BandsSquare Any Two Digit Number In Your HeadWelcome MessageUnboxing 7 Electronics KitsWhy Your Supporting Characters Are Forgettable And How to Fix ItIntegration by Parts
Derek Banas |

Lerp and Easing

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER