HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jimfx

no profile record

Submissions

Show HN: Simulate 3D plants in the browser

plant.max-richter.dev
439 points·by jimfx·3 jaar geleden·49 comments

Show HN: Plantarium – Create 3D Plant Models with Blender-Style Nodes

plant.max-richter.dev
2 points·by jimfx·3 jaar geleden·1 comments

comments

jimfx
·2 maanden geleden·discuss
I am working on a WASM based procedural plant generator:

https://nodes.max-richter.dev https://github.com/jim-fx/nodarium
jimfx
·2 jaar geleden·discuss
Pretty sure the gif is from the short movie Cosmo Laundromat by Blender Studios, would definitely recommend giving it a watch:

https://gooseberry.blender.org
jimfx
·3 jaar geleden·discuss
Thanks for the Feedback!

I tend to get blond to those small usability bugs, so it is very valuable.

Should both be fixed in the coming days :)
jimfx
·3 jaar geleden·discuss
Plantarium was also developed in Firefox ;)
jimfx
·3 jaar geleden·discuss
I think you would be right that simulation was a bit misleading. In my experience, a simulation is related to time, and updated in discrete time steps. Maybe "Procedural Generation" would be a better term...
jimfx
·3 jaar geleden·discuss
Thanks :) That came from some feedback I got the last time I posted this project to hn
jimfx
·3 jaar geleden·discuss
That is a nice idea! The tricky part is going to be how to integrate animations without having to rebuild the entire mesh every frame... Though, I think it would be very easy to export a skeleton from the generator and then use that to animate the plant.
jimfx
·3 jaar geleden·discuss
That's super cool! And thank you for the nice words :)

A rust/Wasm rewrite of the geometry generator is very much on the roadmap. Currently getting my feet wet with rust during advent of code.
jimfx
·3 jaar geleden·discuss
I learned a lot about webgl and procedural geometry in the process of making this :)
jimfx
·3 jaar geleden·discuss
Yup, I use github.com/oframe/ogl, which makes webgl a bit mor usable for the average programmer. You could also probably achieve the same thing with webgpu, but for the time being i have not yet had a reason to switch :)
jimfx
·3 jaar geleden·discuss
One of my ideas is to build a virtual garden where your plants can grow and you have to take care of them tamagotchi style :)

Not connected to any scientific projects, just a nerd that likes plants. But projects can have a gbif.org id and then some extra information is loaded through the gbif api :)
jimfx
·3 jaar geleden·discuss
Thank you so much, I love graph/node editors :)
jimfx
·3 jaar geleden·discuss
You're right that it is procedurally based; however, I have not yet implemented L-Systems. I am a long-time Blender Nerd, and if you look in the GitHub repository, there is an ideas/blender-plugin.md file since last year. Unfortunately, I haven't found time to start building it since I spend most of my time trying to get my startup off the ground.
jimfx
·3 jaar geleden·discuss
Thank you so much!
jimfx
·3 jaar geleden·discuss
Thanks :) In my opinion we programmers tend to take our projects/ourselves too seriously so I like to add some sillyness here and there
jimfx
·3 jaar geleden·discuss
Very good feedback, I should probably add a debounce to the automatic centering of the camera :)
jimfx
·3 jaar geleden·discuss
I am currently away from home, don't have access to my pc and just saw that the post gained some traction. I am crossing my fingers ;)
jimfx
·3 jaar geleden·discuss
Thank you so much :)

I have a lot of ideas for further usecases for this tool, and I am probably going to write my bachelor thesis about it :)