Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 589 Bytes

File metadata and controls

34 lines (20 loc) · 589 Bytes

PHP L-systems

Basic Lindenmayer system generation and rendering classes.

Example l-systems taken from http://paulbourke.net/fractals/lsys/ and other websites.

## Requirements

  • PHP +8.3
  • Composer

Usage

composer install
php main.php definitions/tree.yaml
open tree.png # Or open using any picture viewer

Examples

pentaplexity.png

crystal.png

labyrinth.png

quadratic-gosper.png

saupe.png

tree.png

von-kock-snowflake.png