p5.js Coding Tutorial | Color Gradient Animation (lerpColor Function) @pattvira
p5.js Coding Tutorial | Color Gradient Animation (lerpColor Function)  @pattvira
Uploaded February 2024 | Updated November 2026, 27 minutes ago
LET'S CONNECT
✨ Sign up for my newsletter at pattvira.com
✨ Instagram: instagram.com/pattvira
✨ Twitter: twitter.com/pattvira
--
Links:
πŸ”— p5.js editor: editor.p5js.org
πŸ”— Color Gradient Animation Code: editor.p5js.org/pattvira/sketches/mutDHiETf
πŸ”— Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn

References:
πŸ”— Linear Interpolation (Coding math video): youtu.be/IwOZV19CH2Y
πŸ”— lerpColor() Function: p5js.org/reference/#/p5/lerpColor
πŸ”— Easing Functions: easings.net

Timestamps:
0:00 Intro
0:10 Linear Interpolation 101
4:37 Creating a color gradient (Block)
8:44 Creating a color gradient (Ellipse)
13:29 Using easing functions to animation a circle
p5.js Coding Tutorial | Color Gradient Animation (lerpColor Function)Reflecting on 2024β€”A Year of Growth and Gratitude 🌟p5.js Coding Tutorial | 3-Dimensional Kinetic TypographyASCII Text Images and Videos #p5js #javascript #coding #shortsp5.js Coding Tutorial | Interactive Colliding Objectsp5.js Coding Tutorial | Conways Game of Life πŸ‘Ύp5.js Coding Tutorial | Snow (Object-oriented Programming)p5.js Coding Tutorial |  Circular Grid Graphics (Nested Loop / 2D Array)p5.js Coding Tutorial | Habit Tracker (Data Visualization)AI built 80% of my app. Here’s how I plan to design the rest.p5.js Coding Tutorial |  Color Changing Ball (If Statements)Introduction to Shaders: Shaping Functions (3/4)
Patt Vira |

p5.js Coding Tutorial | Color Gradient Animation (lerpColor Function)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER