p5.js Coding Tutorial | Falling Sand - Lunar New Year Edition (with ml5.js) @pattvira
p5.js Coding Tutorial | Falling Sand - Lunar New Year Edition (with ml5.js)  @pattvira
Uploaded January 2025 | Updated November 2026, 14 hours 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
πŸ”— Interactive Falling Coins Code: editor.p5js.org/pattvira/sketches/DCTLTHUyU
πŸ”— Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn

References:
πŸ”— @TheCodingTrain ' Falling Sand Tutorial: youtube.com/watch?v=L4u7Zy_b868
πŸ”— Inspiration by Shristi Singh (@velveteen.magic): instagram.com/p/DEnJz5yxTap
πŸ”— ml5.js:
πŸ”— Website: ml5js.org
πŸ”— ml5.js faceMesh Parts Example: editor.p5js.org/ml5/sketches/9y9W7eAee
πŸ”— ml5.js playlist: youtube.com/playlist?list=PL0beHPVMklwhxJ6G3Hn4uLQTDe4Y562Dr&si=fstnmy-6Q8ELkFVc

Timestamps:
0:00 Intro
0:57 Approach
2:02 Create current and next grids
5:26 Add interactivity with mousePressed() and mouseDragged
7:29 Add cellular automata rules
14:40 Change alpha values to add additional depth
17:17 Create gold coins
20:52 Explore handPose model from ml5.js
25:24 Use index finger to add gold coins
p5.js Coding Tutorial | Falling Sand - Lunar New Year Edition (with ml5.js)p5.js Coding Tutorial | Interactive Display with Rotating Blocks (UPGRADED)p5.js Coding Tutorial | Pendulum Waves 🎡p5.js Coding Tutorial | Binary Clockp5.js Coding Tutorial | Wiper Typographyp5.js Coding Tutorial | Generative Smiley Faces (Generative Art Series)Life Update: Why I stopped posting and what’s nextCreative Coding Math: Linear Interpolation (Lerp Function)p5.js Coding Tutorial | Chladni PatternsProcessing Community Day Taiwanp5.js Coding Tutorial | Interactive Bridge with Bouncing Balls (matter.js + ml5.js)p5.js Coding Tutorial | Oscillating Kinetic Typography
Patt Vira |

p5.js Coding Tutorial | Falling Sand - Lunar New Year Edition (with ml5.js)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER