47:49Coding Challenge #17: Fractal Trees - Space Colonization
From the creator
In this coding challenge, I'm using the space colonization algorithm to make a tree generator. This is the 4th part of my algorithmic botany series. Code: https://thecodingtrain.com/challenges/17-fractal-trees-space-colonization 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/r9pxis9g- 🎥 Previous video: https://youtu.be/E1B4UoSQMFw?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/JcopTKXt8L8?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 🌳 Algorithmic Botany: http://algorithmicbotany.org/ 📓 Space Colonization Algorithm: https://algorithmicbotany.org/papers/colonization.egwnp2007.html 📕 Nature of Code class on Kadenze: https://www.kadenze.com/courses/the-nature-of-code/info Videos: 🎥 Algorithmic Botany Track: https://thecodingtrain.com/tracks/algorithmic-botany 🔴 Coding Train Live 40: https://youtu.be/MwLyeEWnMCY?t=7899s Related Coding Challenges: 🚂 #14 Recursive Fractal Trees: https://youtu.be/0jjeOYMjmDU 🚂 #18 3D Fractal Trees: https://youtu.be/JcopTKXt8L8 🚂 #77 Recursion: https://youtu.be/jPsZwrV9ld0 🚂 #174 AppleSoft Basic Fractal Tree: https://youtu.be/UNkHditYGls Timestamps: 0:00 Introducing today's topic 1:34 The space colonization algorithm 3:11 Write a Tree constructor function 3:46 Write a Leaf construction function 5:03 Add a tree 6:53 Create a branch object that has a position and a parent 7:45 Add the root of the tree 9:26
Published 2016-06-01 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





