(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=38506166

隆重推出 Plantarium - 一款革命性的基于网络的软件,旨在让用户通过直观的节点图界面轻松构建复杂的 3D 植物模型。 Plantarium 不仅简化了创作过程,还支持将最终作品导出为 OBJ 等常见格式。 值得注意的是,它的源代码可以在开放许可下免费访问,为包括编程教学、研究和图形设计在内的各个领域的无限使用可能性打开了大门。 凭借其广泛的功能列表和全面的教程,该应用程序使创作者能够更深入地研究涉及 L 系统的复杂数学概念,从而提供了在各自工艺中探索新视野的机会。 正如满意的 Beta 测试人员所证明的那样,Plantaium 通过直观的 UI 机制进行有趣的实验,展示了卓越的多功能性和功能性,允许人们通过拖放界面或鼠标悬停来操纵各种参数,而不会忽视更大的画面。 然而,必须注意的是,模型显示行为的某些方面可能需要进行细微调整,特别是在输入调整期间。 与此同时,其他人则强调了显着的特点,建议纳入人工智能元素,为烹饪爱好者提供有关潜在生态生存能力指标、相关物种分类指数以及随附食谱的见解。 此外,其他有远见的人设想利用此实用程序来开发沉浸式虚拟花园,要求玩家通过玩微型玉子风格的回合来维持数字植物生命形式,所有这些都在多个网页上无缝呈现。 这一发展标志着计算机科学和艺术表达领域的一个重要里程碑,通过全球创意编码人员的集体努力和贡献推动尖端技术向前发展。

相关文章

原文
Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Simulate 3D plants in the browser (max-richter.dev)
349 points by jimfx 17 hours ago | hide | past | favorite | 34 comments










This is so useful and nice for so many reasons.

A well written browser based node graph editor that can create procedural 3d meshes _and_ export as .obj _and_ you've permissively licensed it. This could be the seed for a whole host of procedural tools. Thank you Jim.



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 :)



I'm impressed with the complexity here. For folks wanting to take it for a quick spin... The tutorial is great but takes a few minutes to get to the fun. Instead just play with the sliders in the right pane and see how it modifies the fern. Also click library and load some other models to see what it can do.

You can tell this is brand new because there are no penises to load in the user submitted models yet.



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 ;)


I did something similar a year ago where I wanted to try out Rust as a webapp engine (compile to wasm -> host on rust webserver): https://blomma.lorentz.app. Although yours is miles better on the productification station, cudos! The real selling point is the nodegraph editor, blends really well to the workflow and brings it down from a debugging tool to a product which may be used by anyone.

Only improvement mine has is bezier curves, for both the leaf shape and stem shape. It was (to me) quite a challenge to get both the topology and triangulization right, but a great intro to quaternions and nice refresher on trigonometry. I'd recommend giving a bezier curve node a go.



Looks very nice, one small problem - when I change the values, the camera seems to "shake" because the shape of the plant changes, so it has to constantly readjust, and it's kind of annoying (at least for me). Maybe it could be possible to freeze the camera while the parameters are being changed?


Very good feedback, I should probably add a debounce to the automatic centering of the camera :)


Probably best to animate the camera change afterward when it relaxes, too...


This is a neat project but it doesn't seem to render the plant at the moment. It did render plants 20 minutes ago - perhaps the HN load has hurt it?

All of the code is available online, with great documentation. There is, in fact, a server back end for this project:

https://github.com/jim-fx/plantarium/tree/main https://github.com/jim-fx/plantarium/blob/main/ARCHITECTURE....

I will be back in a few days when it is working again.



It’s back up


That is extremely cool! I like the stem 'thiccness' parameter :)


Thanks :) In my opinion we programmers tend to take our projects/ourselves too seriously so I like to add some sillyness here and there


For those that did not know (like myself), you can slide the right hand panel to expose more parameters/controls


Fantastic. I can't wait to see a whole forest of crowdsourced algorithmic plants. Is this connected to any scientific projects? A cool feature would be an AI botanist that tells you how likely your plant would survive, what's the closest taxonomic reference, a nice recipe to go along with boiled rice,...


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 :)



Super cool! Ive been building some 2D simulations using Pygame lately, so enjoy a good simulation project!


As far as I can tell this uses WebGL, I wonder if you could get these results just as easily using WebGPU


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 :)


Awesome. I think I will switch from rust to typescript on the front end and do something similar in WebGPU. Before I did some wasm stuff with the wgpu crate but the fact that wasm can't reach the DOM is a bit of a headache and the gains in performance from WASM seem to be offset by the fact that I still need to create a sort of communication channel between wasm and js if I want my 3D app to talk to a websocket.

Your project is very motivating thank you for making this!



What did you learn to make this?


Wow. Sending this to a bunch of tech art friends


Amazing! I love how immediate, and straightforward it is. Easy to understand and fun to play around with!


That is amazing, they really look like plants!


Thank you so much!


The model visualizer is beautifully nostalgic... somehow.


Reminds me of games from my childhood :)


It vaguely reminds me of the fractal tree generator that was in some versions of Microsoft Encarta.


What makes this a simulation and not just a model?


I guess because it is procedurally based, likely using an L-system.

https://en.m.wikipedia.org/wiki/L-system

We use things like this in 3D art and animation. For example the paint system in Maya. This was used to create the forests in Shrek.

Question to OP… have you considered making this available as a Blender plugin?



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.


That wouldn't make it a simulation, it's just a different way to generate 3D representations.


The graph editor is really, really well done, congrats.


Thank you so much, I love graph/node editors :)


Very cool!






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com