/lindenmayer-tree

A natural-looking tree structure generated with an L-system.

Primary LanguageJavaScript

Lindenmayer Tree

A P5.js sketch of a tree structure generated using an L-system.

To run the sketch:

  • Clone the repo to your machine
  • Make sure Node.js and npm are installed
  • Go into the repo and launch a local web server, for example with the npm package http-server.
  • Open a browser and go to localhost/{port of the server} and view the sketch