/Procedural-Tree-Generator

This repository contains JavaScript code (p5js library) for generating fractal tree using recursion. 🍂

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Procedural Tree Generator 🌳

  • Description: This repository contains JavaScript code (p5js library) for generating fractal tree using recursion.

  • Optional: The color of the leaves, the deviation angle of branches, the length & thickness of branch and the foliage density can be changed to generate the desirable type of tree. 🍂

  • Preview: Shown below are some images of the tree after customization. 🌸 Tree Preview Nice tree preview Nice 2

  • References: L-system