this post was submitted on 12 Sep 2023
28 points (93.8% liked)

Programming

17279 readers
424 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

Cool. Is this made with L-systems?

[–] [email protected] 2 points 1 year ago (1 children)

It is recursively changing the angle at random and shrinking the size. I dunno if that would count as a L-system, the wikipedia article for L-system has too much math that I don't understand

[–] [email protected] 4 points 1 year ago (1 children)

Track down a copy of "The Algorithmic Beauty of Plants". The last time I looked, it was available as a free PDF, too. I think it's a great introduction to L-systems.

I got it when it was first released and spent way too much time poring over it and generating imagery on my decrepit old computers.

I've never looked at plants the same since.

[–] [email protected] 3 points 1 year ago (1 children)

Thanks, I found this book and a lot of papers about it on this site: http://algorithmicbotany.org/

[–] [email protected] 2 points 1 year ago

Nice! That Vlab software looks very interesting. Way back when, I built some primitive tools to help me play with L-systems, but I'd never have dreamed of taking it that far.

Have fun!

[–] [email protected] 3 points 1 year ago (1 children)

Cool stuff, now add some physics to those branches :)

[–] [email protected] 2 points 1 year ago

I did some experimenting on that direction, but stopped at this weird thing. The way I'm doing it would be too slow with more than one tree

https://random.fbmac.net/page/4

source: https://github.com/machado2/random-things