We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I need some guidance on how to go about this. Not looking for spoon feeding, but some expert advice from all of you.
I want to make a dynamic tree structure where all the branches and nodes are spirals (big to small). The users will be able to click a 'bud' node to turn it into a branch. Once a branch has been created, new bud locations appear to user to add more branches.
And this is how the tree grows.
There will be a lot happening with the branches, but thats for later :)
My question is, where should I start to learn how to code something like this? L-Systems? Xah Lee? PLant Algorithm?
I don't know if there is some resource available specifically of learning this type of things. I have a few processing books, but they only cover basics, not going this deep.
Later I will also need to zoom in and out into this tree interactively.
Hope I can get some guidance from you all.
Thanks.
Answers
Check this out: openprocessing.org/sketch/10587. Play with the sliders in the corner.
Thanks, that a really nice code. I will try to build on top of that and learn something out of it :) Its something close to my requirement.