Animating Procedural Plant Growth (L System Lerp)

preview_player
Показать описание

L Systems are really great for easily generating plants, but it's always bugged me how much the plant changes between generations. I want to watch my plants grow smoothly! So today we are going to fix that by linearly interpolating (lerping) between L System states.

Follow me:

Chapters:
0:00 Intro
1:03 L System refresher
1:52 Linear interpolation (lerp)
2:23 Updated draw rules
3:19 Which characters to lerp?
4:27 Updated L System rules
5:19 Drawing lerped L Systems
6:30 Quick recap
6:43 Bringing it all together

#creativecoding #p5js #javascript
Рекомендации по теме
Комментарии
Автор

If you'd like to see what else I'm working on, it would be great if you could wishlist my game Star Mining Co. on Steam! s.team/a/2584800/

BarneyCodes
Автор

One of the best videos on practical applications of L systems for procedural plant generation on yt

shauas
Автор

Looks neat! Now all that is left if a little decay animation and you can create an infinite forest animation 😄

ProgramSam
Автор

Nice edition and well explained, keep it up!

lucasdevecchi
Автор

Hey thank you so much for this video!! I really wanted to modellate the fractal growth of an existing tree. do you have an idea how to approach this? I would measure the branches and the angles of them but I don't know what to do with the data

julias
Автор

You're awesome! Please more videos :)

berkipekoglu
Автор

very helpful, it would like to see this in 3D.

bakdiabderrahmane