Processing / p5.js Tutorial: What is lerp? (Linear Interpolation)

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=8uLVnM36XUc



Category:
Tutorial
Duration: 10:10
39,653 views
1,068


This video covers the lerp() function which is part of both Processing and p5.js. What is lerp()? What is linear interpolation? How can you use this function to create an "easing" effect or smooth out noisy values (from perhaps a sensor).

https://processing.org/reference/lerp_.html
http://p5js.org/reference/#/p5/lerp

Contact: https://twitter.com/shiffman

Learn p5.js from scratch:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

Learn Processing from scratch:
https://www.youtube.com/user/shiffman/playlists?sort=dd&shelf_id=2&view=50

Help us caption & translate this video!

http://amara.org/v/Qbtk/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
Linear Interpolation
interpolation
lerp
Processing (Programming Language)
p5.js
Java
JavaScript (Programming Language)
Java (Programming Language)
Tutorial (Media Genre)
Education (TV Genre)