Umeer’s Blog

Animation Programming

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.z - a.z) * t)

 

  • b.x - a.x returns the difference between the two components
  • t scales the result of b.x - a.x between 0 and the result
    • (4-1) = 3 so t will scale it from 0 to 3
  • adding a.x at the end makes it the starting point when t = 0 and at t = 1, the x will be equal to b.x

 

Here's an interactive example:

www.geogebra.org

 

Animation Programming - Research Material (living document)

Animation/Game Engine

Animation Programming Basics - Bobby Anguelov

www.youtube.com

 

Game Engine Architecture - Jason Gregory

https://www.amazon.co.uk/Engine-Architecture-Third-Jason-Gregory/dp/1138035459

 

Animation Bootcamp - David Rosen

www.youtube.com

 

Procedural Animations

Principles of Animal Locomotion - R. McNeill Alexander

https://www.amazon.co.uk/Principles-Animal-Locomotion-McNeill-Alexander/dp/0691086788/ref=sr_1_1?crid=2BQIIYY9IBEAV&keywords=principles+of+animal+locomotion&qid=1661782459&s=books&sprefix=principals+of+animal+locomotion%2Cstripbooks%2C50&sr=1-1

 

Automated Semi-Procedural Animation for Character Locomotion - Rune Skovbo Johansen

https://runevision.com/thesis/rune_skovbo_johansen_thesis.pdf

 

IK Rig: Procedural Pose Animation - Alexander Bereznyak

www.youtube.com

 

Predictive Animation Control Using Simulations and Fitted Models - Ingimar Holm Guomundsson, Hendrik Skubch, Fabien Gravot & Youichiro Miyake

http://www.gameaipro.com/GameAIPro3/GameAIPro3_Chapter16_Predictive_Animation_Control_Using_Simulations_and_Fitted_Models.pdf

 

Daniel Holden Blog Posts

theorangeduck.com

 

Physics-Based Animation by Kenny Erleben

https://www.amazon.co.uk/Physics-based-Animation-Graphics-Kenny-Erleben/dp/1584503807

 

The Rain World Animation Process

www.youtube.com