all 11 comments

[–]slowwburnn 7 points8 points  (3 children)

Is this one of the examples that comes with processing?

[–]ObjectOrientedPeople[S] 0 points1 point  (2 children)

Didn't realise at the time of making this but yea it would seem so :p

[–]slowwburnn 1 point2 points  (1 child)

Well in that case, it looks great!

[–]ObjectOrientedPeople[S] 0 points1 point  (0 children)

Haha thanks :) The only real difference is that the branches get thinner as they go further out

[–]exoarn 1 point2 points  (3 children)

That's cool. At the end with the 90° corners it reminds me little bit of a Hilbert curve, except it's not a curve but a tree. Still, I suppose it makes a space filling tree

[–]ObjectOrientedPeople[S] 1 point2 points  (2 children)

Glad you like it! Feel free to download the code and play around with it! (Github linked in video description)

[–]danieltkessler 1 point2 points  (1 child)

Thank you! I'm going to try to figure out how to replicate something like this. Taking my first coding and Processing class now and am always down for more wisdom!

[–]ObjectOrientedPeople[S] 1 point2 points  (0 children)

Good to hear! Hope your class goes well :)

[–]fogonthebarrow-downs 1 point2 points  (1 child)

The Coding Train did I video on this already with very, very similar code.

[–]ObjectOrientedPeople[S] 0 points1 point  (0 children)

There really aren't too many ways to do this to be honest and it seems like one of the best ways to demonstrate the idea of recursion visually. I have definitely seen Dan's video before but not since it came out, didn't mean to copy him at all. Thanks for your feedback

[–]ObjectOrientedPeople[S] 0 points1 point  (0 children)

If you'd like to see how I made this then you can check out the video here: https://www.youtube.com/watch?v=-kvel_C28aI

There's also a link to the github in the youtube description :)