Florasynth procedural tree generator

B"H

Cool. got it to work. its coo, intersting, works.

I was thinking in real life when wind blows, the individual leaves usually flutter. was hoping to get more variety of swaying and leaves fluttering , is anything like that possible?

I don’t have much experience with shaders, but I bet you could use a fragment shader (instead of vertex) to accomplish this. You would need to somehow offset the pixels on the foliage material to make it look like each leaf is fluttering.

I’m not sure how you would go about doing that though.

B"H

offset pixels? I was hoping for like a 3d fluttering effect like when wind htis leaves in real life all the leavesmove back and forth really fast

Can you show an example in another game/simulation/video showing what you mean?

I used a similar idea here: Petals 2020 (for NY contest), to emulate fluttering petals with Points, instead of insfanced planes/quads.

4 Likes

This is amazing, are you still working on it? I think this has loads of potential, in terms of application. I want to use it in my app.

Hey Paul,

Thanks for the feedback! I work on it whenever I have time, It’s been sort of a passion project. I was thinking of distilling down the generation code into a standalone script that could be used on other websites. If that something people would find useful I will do it.

2 Likes

2025 now and just it’s so cool, mad kudos to you.

The time and thought put into this definitely shows. I can promise you that I’ll use it in some insane procedural art if you opensource it as a script. I’m sure others in the community would greatly appreciate it too.

Either way man, I had to congratulate you on your excellent work.

Thanks so much — really appreciate the kind words!

1 Like

Hi! i’m finding florasynth really usefull for personal proyects. I was wondering if there is any way to animate the “Growth Increments (age)” variable in order to simulate a growing tree.

I only managed to export the static object. Is there any way to achieve the animation? maybe with an external procedure?

thank you <3

Hi there!

Unfortunately there is currently no native way to export some sort of animation from the growth increments parameter. It’s a bit cumbersome but I’m sure you could manually export each increment manually and then chain them together into an animation with a third party software like Blender.

I will add a feature like this on my roadmap.

Hi, can I ask if you’re creating tree rules based on something like an L-system, or are you manually defining your own set of rules?
And regarding the animation, are you using FK on the GPU?

Hi, I’m using a set of custom rules. I’m aiming to simulate as realistic of a natural growth process as possible. Currently the rule set is more on the simplistic side, but the next version I’m working on does a much better job of understanding how trees actually grow.

Here’s a sneak peak:

Regarding animation, I’m not sure what FK on the GPU is, but if your referring to the wind sway, I have a custom glsl shader implementation using the Threejs ShaderMaterial.

4 Likes

@Jacopo_Folgoni_Borsa hi, I bought the developer kit today from your website, but I have an issue, for the “WippingWillow” preset there should be a texture called “willow_foliage_color.png” that is missing in the textures folder from the downloaded dev kit?

Hi there,

Good catch, it’s missing from the textures folder. I’ll include it in the next patch, in the meantime do you have a good email I can send it to? I’d be happy to send the texture / the patched blender plugin directly to you.

Thanks,

Jacopo

@Jacopo_Folgoni_Borsa i sent my email in a DM, thanks!

It’s an interesting and fun concept. I like you provided details on parameters as well