| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This software provides a 3D real time rendering of a garden, where put trees or bushes. It is based on Lindenmayer System, that consists of an alphabet simbols with some production rules. Algorithm starts with an axiom and expands rules iterations-times. The generated strings are converted into geometric structures, branches in our case. The tree generated has a fractal branch scheme.
It was written in Javascript with Three.js framework, which is based on WebGL API.
Download code and run index.html with a browser. In Chrome local mode, make sure to turn on the -allow-file-access-from-files flag or run it with local server (best solution) to load textures.
It is recommended to have dedicated GPU to render more trees. Code tested with Firefox and Chrome.
In this demo, you can:
[1] Przemyslaw Prusinkiewicz and Aristid Lindenmayer, The Algorithmic Beauty of Plants, 2004.
| Back | FazBrowse Home | New Git URL |