LET’S CONNECT
✨ Sign up for my newsletter at
✨ Instagram:
✨ Twitter:
--
Links:
🔗 editor:
🔗 Slime Mold Code:
🔗 Introduction to Creative Coding Playlist:
References:
🔗 Jeff Jone’s paper:
🔗 Sage Jenson’s blog post:
🔗 Physarum close-up images from @journeytomicro’s video:
🔗 Pixels Reference: #/p5/pixels
Timestamps:
0:00 Intro
0:10 What is a slime mold?
1:16 Algorithm and approach
2:20 Create a Mold class
7:00 Create sensor variables
12:19 Explain how pixels array work and how to extract color values from it
19:16 Use pixels array to get sensing data from canvas
21:41 Compare sensors’ values to determine direction to rotate
26:20 Use alpha value to diffuse trail map
31:02 Use modulo (%) to wrap around values