Trees
trees.fbmac.net
external-link
These are some fractal 3D threes created using @react-three/fiber and react-three/rapier
Elise
link
fedilink
31Y

Great job!

@Faresh@lemmy.ml
link
fedilink
English
21Y

Cool. Is this made with L-systems?

@fbmac@lemmy.fbmac.net
creator
link
fedilink
21Y

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

jadero
link
fedilink
11Y

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.

@fbmac@lemmy.fbmac.net
creator
link
fedilink
11Y

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

jadero
link
fedilink
21Y

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!

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

@fbmac@lemmy.fbmac.net
creator
link
fedilink
11Y

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

Create a post

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 !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog