Dynamically create procedural trees.  The generator uses an L System to create the layout of the leaves and branches.  The shape of the tree is influenced by the starting axiom and the rules applied to that axiom.  The rules are applied the number of times indicated by the iteration slider.  The axiom and the rules can include the following symbols:

  • F   - draws a branch forward
  • X   - controls the evolution of the tree's curve
  • L    - draws a leaf
  • [     - stores the current position and direction on the top of a stack
  • ]     - gets the position and direction off of the top of the stack
  • +    - turns the direction clockwise
  • -     - turns the direction counter-clockwise

The various sliders can be changed while the tree is being draw.  This may lead to unpredictable, but interesting, tree shapes.

Controls:

  • Mouse wheel to zoom
  • Left click to drag slider scales to change some of the generation parameters
  • Right click to pan around the screen
StatusReleased
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorGogodinosaur
Tags2D, Generator, interactive, l-system, plant, Procedural Generation, tree, Unity

Leave a comment

Log in with itch.io to leave a comment.