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
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










