Coding Challenge #14: Fractal Trees – Recursive

In this coding challenge, I’m going to show you how to create a fractal tree with a recursive algorithm in p5.js.
This is the first part of a series on algorithmic botany.

Support this channel on Patreon:

Send me your questions and coding challenges!


Links discussed in this video:
Nature of Code class on Kadenze:
Algorithmic Botany:

Source Code for the Video Lessons:


For More Algorithmic Botany Videos:

For More Coding Challenges:

Help us caption & translate this video!






22 responses to “Coding Challenge #14: Fractal Trees – Recursive”

  1. Tech Store Avatar

    Wew, he is too good at it man… He must be a millionarie

  2. icandoathousandnow Avatar

    That was great. Constructive feedback: try not to wipe your nose so much

  3. slackjaw Avatar

    I wish these videos were with python

  4. David Portilla Avatar

    i just love this video <3

  5. Jose David Avatar

    Look at his shirt. /

  6. Pradip Bista Avatar

    Do you have basic programming videos in youtube?

  7. saneman100 Avatar

    Make a 3d fractal tree

  8. nilesh jadhav Avatar

    33 undefined variables disliked this video…

  9. M. Jamil Rahman Avatar

    that's guys look like Gerard Pique

  10. Dominick Woughter Avatar

    What language is this, Java?

  11. Mr. BIG Avatar

    hey is there a way to create this in processing without p5? I did it like u but dont have a slider so it looks not like a tree :/.

  12. JustA RandomUser Avatar

    What software is he using?

  13. Alexy Robert Avatar

    so interesting , how do you ’jump‘ in your desktop?

  14. BigDaddyMacc Avatar

    I know nothing about java coding. But i want to learn

  15. Anqi Zhou Avatar

    I'd love to learn how to edit videos to have your very seamless overlay effect? Thanks!

  16. Mortemon Avatar

    I learned how to java script out of you! You are my hero, my inspiration <3

  17. Mycelius TV Avatar

    A background won't show up for me… lol. i'm actually about to give up on this. Please help.

  18. Paulo Cunha Avatar

    To understand recursion, you must first understand recursion.

Leave a Reply

Your email address will not be published. Required fields are marked *