Coding Challenge #18: 3D Fractal Trees

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=JcopTKXt8L8



Game:
Fractal (2010)
Duration: 22:29
79,405 views
1,313


In this coding challenge, I'm building on top of the Space Colonization video and creating a 3D Fractal Tree, using the same algorithm, in Processing. Code: https://thecodingtrain.com/challenges/18-3d-fractal-trees

πŸŽ₯ Previous video: https://youtu.be/kKT0v3qhIQY?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Next video: https://youtu.be/z86cx2A4_3E?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
🌿 Algorithmic Botany: http://algorithmicbotany.org/
πŸ““ Modeling Trees with a Space Colonization Algorithm: http://algorithmicbotany.org/papers/colonization.egwnp2007.pdf
πŸ“• 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 41: https://youtu.be/1Yo_AYzxA-o?t=2555s

Related Coding Challenges:
πŸš‚ #14 Recursive Fractal Trees: https://youtu.be/0jjeOYMjmDU
πŸš‚ #17 Space Colonization: https://youtu.be/kKT0v3qhIQY
πŸš‚ #77 Recursion: https://youtu.be/jPsZwrV9ld0

Timestamps:
0:00 Introducing today's topic
1:13 The algorithm
2:39 Recap: the Leaf, Branch, and Tree objects
5:30 Add a random motion to deal with leaves that are equi-distant from a branch
7:30 Map strokeWeight of branches to the index
9:39 Create random points in a sphere
10:15 Add P3D
10:55 Add a PeasyCam object
12:57 Draw ellipses at their 3D location
14:32 Grow the tree again
15:11 Add the z-coordinate to line
16:34 Discussion of creative possibilities
19:01 Adjust parameters to make the fractal look more "tree-like"
22:06 Conclusion

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://discord.gg/hPuGy2g
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#fractals #generativeart #3d #p5js #javascript







Tags:
challenge
coding
3d
fractal
processing
tutorial
nature of code
coding challenge
creative coding
processing tutorial
object oriented programming
daniel shiffman
processing 3
programming challenge
object oriented
pvector
processing (programming language)
fractals
p3d processing
p3d
algorithms
recursive algorithm
botany
algorithmic botany
system
simulator
space colonization
space colonization 3d
3d fractal
fractal tree



Other Statistics

Fractal Statistics For The Coding Train

At present, The Coding Train has 79,405 views spread across 1 video for Fractal, and less than an hour worth of Fractal videos were uploaded to his channel. This is less than 0.04% of the total video content that The Coding Train has uploaded to YouTube.