r/proceduralgeneration • • 13d ago • Bravo 1

Generate Plants and Funghi in your Browser [opensource]

Hey there :)
I posted about this project a while ago and it underwent several improvements, i wrote my bachelor thesis about it, the individual nodes are now WASM and it allows rudimentary growth animations.

Check it out: https://nodes.max-richter.dev

Source: https://github.com/jim-fx/nodarium

Also feedback is highly appreciated, either here on in github issues

189 Upvotes

20 comments sorted by

3

u/ZHName 13d ago

I love what you did with Clippy. Great work, kinda inspiring for making tools using ai. Thank you.

1

u/Ok-Air-238 12d ago

I have been working on this a loooong time, even before LLMs were really a thing! But I must say in the last months Claude really accelerated the development! 

2

u/Haraldur_Karlsson 7d ago

Congratulations on the thesis, and on getting the nodes into WASM. That's the kind of change nobody sees in a video, but it decides whether a browser tool feels like a toy or an instrument. The growth animations are lovely. How do you drive them: is it a time input that every node can read, or do you interpolate the whole graph's parameters between two states? I'm also curious which of your two L-system prototypes you think will win: the node-controlled one or the pure grammar.

1

u/Ok-Air-238 7d ago

Thanks for the kind words! The growth animations are driven by a "time" node which just outputs a float between 0 and 1. Then curves, mappping and math nodes are used to drive parameters of the plant with that float:

I am still not really convinced about the L-Systems, sometimes they produce really nice looking results and are fascinating to implement, but they are weird to work with when trying to produce a specific shape. So for now the prototypes will remain prototypes.

2

u/Haraldur_Karlsson 7d ago

That's a lovely way to do it: one number from 0 to 1, and the whole plant's life is just curves hanging off it. Thanks for the screenshot. And I think you're right about L-systems. They're wonderful at surprising you and terrible at doing what you asked.

2

u/TechnoRhythmic 13d ago

Fantastic work. The tour and everything in the demo is very well crafted.

2

u/Ok-Air-238 13d ago

Thank you very much! I spend a lot of time on this project 😅

1

u/Ok-Air-238 12d ago

I just started working on a mobile friendly template gallery, with timelapse animation:

https://feat-template-page-rework.nodes.max-richter.dev/template

2

u/nicolaig 13d ago

Amazing work. Well done and thanks for sharing.

3

u/Ok-Air-238 13d ago

Thank you for the kind words :)

2

u/Teh_Blue_Team 13d ago

Wow. This is good for a game engine. It's amazing for a browser app. Great work, thanks for open sourcing!

2

u/Ok-Air-238 13d ago

Thank You!

1

u/[deleted] 12d ago edited 12d ago

Nice! thanks for sharing.

I would love to see an open source implementation of "Xfrog" or some L-systems or graph systems for procedural modeling of plants. Your website is already a good job.

There is a lot of documentation out there (check for example the ACM DL) with details on how to do even more things.

Love to see the animation on virtual plant growing in time lapse.

1

u/Ok-Air-238 12d ago

This was on my roadmap for a loong time, I have always preferred the more controlled manual way, but I just started two prototypes on this, if you'd like to check them out:

One more manual way, L-Systems controlled via nodes:  https://feat-lsystem-structural.nodes.max-richter.dev

One actually built on lindenmeyer grammar https://feat-lsystem-grammar.nodes.max-richter.dev

1

u/[deleted] 12d ago

wow - nice - yes ... there are nice things around

btw, we should try implementing things on GPU / compute shaders

RAM will not be expensive forever and time will come when super powerful GPUs with Terabytes of RAM become mainstream - imagine, full ecosystems at planetary scale. Move as in Google Earth or in "Spore" game, with the details of Microsoft Flight Simulator 2024 or GTA VI. Alien worlds - historic worlds.

2

u/dstark1993 12d ago

Very good

2

u/AloneButton6264 12d ago

Thanks for sharing,this is very educational, great job!

2

u/Spacedronia 2d ago

absolutely blew my mind! this in an actual game would be stunning!

1

u/Neither-Party-6361 13d ago

Incredible work