[Beginner] Creating Plants with touchdesigner! The most powerful L-system leaf
Continued from last time
In the previous
If you haven’t seen it, head over there first!
Putting on the leaves.
Actually, it’s really easy this time!
Let’s go from where we left off last time.
First, add the Circle SOP and adjust the Radius value to 0.5.
Then, connect a node from the output hole on the right of the operator to the top input hole of the L-system SOP.
Then, add a new line to the previous code
J
to the previous code
context_ignore:F+-
premise:FFFA
A=”F[-A]///F[-A]///F[^(10)A]J
The J at the end of the code can be used to add an external leaf.
In touchdesigner, in addition to setting the top input as J, you can also set the second input as K, and the third input as M. You can set up to three different leaves.
The usage is exactly the same as for J!
The leaves in this project were Circle, but you can make your own original leaves for a more realistic look.
Finished form
This is what I think I got in the end.
If it doesn’t work, or doesn’t leaf out! If you have any problems, please refer to this video, where we actually do the same thing.
Explanation video
Click to go to youtube!
If you have any other questions, please feel free to contact me.
If you develop it
Here’s one made by the guy writing this.
This is emo! If you think this is emo, please follow me on my instagram account, where you can see more of my work!
Maybe I’ll do an intermediate version soon…
So long!