hsaikia / ProceduralTreesBevy

Procedurally generated 3D fractal trees in the Bevy game engine
GNU General Public License v3.0
15 stars 3 forks source link

Procedural Trees

This bevy plugin produces procedurally generated fractal trees using very simple rules. Watch this video for a description of the rules.

screenshot

How to run

You must have rustc and cargo installed (see here). Then clone the repo and from the root, simply run this command

cargo run --release

To run on the web, you must set an environment variable (see here)

export CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-server-runner

Then run

cargo run --target wasm32-unknown-unknown