L Systems are a great way of generating all sorts of complex and organic looking structures with code, perfect for generative art and procedural generation. In this video we take a look at the basics of the L System and how we can use it to generate a tree!
If you have any questions be sure to ask in the comments down below :)
Here is the Wikipedia article for L-Systems:
en.wikipedia.org/wiki/L-system
If you want to code along you can use the P5js online editor:
editor.p5js.org/
Find the code for this video here:
editor.p5js.org/BarneyCodes/s...
Follow me:
Support the channel: www.youtube.com/@BarneyCodes/...
Twitter: / barneycodes
Reddit: / barneycodes
0:00 Intro
0:42 Defining the rules
2:48 Next generation
5:19 Defining the drawing rules
9:35 Visualisation
13:50 Adding colour
16:32 Final product
#creativecoding #p5js #javascript
Негізгі бет Introduction to L Systems: Generating Procedural Plants
Пікірлер: 25