Show HN: WebApp to Create 3D Plants
plant.jim-fx.com
plant.jim-fx.com
The most difficult thing was definitely the positioning of the connections and the scaling/transforming and converting between global coordinates and local coordinates.
Would recommend trying it though, it was a lot of fun!
The author calls it Nodesystem. The code is here:
https://github.com/jim-fx/plantarium/tree/main/packages/node...
(I went looking for the code so I thought I'd share this.)
I definitely want Plantarium to accommodate users who just want to play around, so that is valuable feedback!
For years I've had a fantasy of building a sim game where you design plants, and then toss the seeds into the wind. The plants could then grow, in competition with other plants of the world for the environmental resources of sun, water, and maybe soil nutrients.
The plant design would probably be in a context-free grammar (inspired by https://www.contextfreeart.org/). This would be their "DNA".
And contextfreeart looks super interesting!
Thanks for the ideas :)
You can find some examples under projects>import.
And thank you for the feedback :)
Regardless, it's very cool!
In addition to the default project - maybe also have a random/shuffle option (and consider having the default project randomized, or load from a set of curated random configurations). Maybe "random" could only be applied to parameters
And a slight bug report - the "[] Legend" box in the bottom right corner obscures error messages when a parameter "box" is missing a connection. I'd also consider having that highlight the specific node/box/etc. that's got an issue - if you make something very complex, you'll be scrolling around, zooming in and out, quite a bit to find the specific named object.
And a question - is there a way to delete an object?
(sorry if any of that sounded on the harsh side - was trying to provide constructive feedback with enough detail to be useful, but that length can come off "ranty"...)
Good catch with the legend box! And highlighting the node with an error makes a lot of sense as well.
Yeah, you can delete a node by selecting it and pressing x.
Show the real node in render; for example, if you're altering branch nodes show some nodules in the render view informing about the chain they're altering. Probably redundant for advanced users who have better intuition of nodes.
Viewport behavior; If possible selecting from node or viewport. E.g. select leaf, branch, ... specifically from viewport and display "child" nodes. For certain nodes, like curve, perhaps allow direct viewport editing?
Local view; as above, but let users bring up those node chains in the viewport via hotkey.
Especially the idea of showing the connection between parts of the model and the nodes.
I am still working on the curve node, it is not really working the way i like it right now.
The local view is a fantastic idea as well!
Regarding safari, i just found out that window.structuredClone is not available in Safari, the fix should be out shortly!
edit: I was using safari -- switched to Firefox and works now...
Wondering if I should sign up for it.
And can just open DevTools and look at the error. But it's a bit stressful because of the time limit