In geometry, a fractal canopy, a type of fractal tree, is one of the easiest-to-create types of fractals. Each canopy is created by splitting a line segment into two smaller segments at the end (symmetric binary tree), and then splitting the two smaller segments as well, and so on, infinitely.Canopies are distinguished by the angle between concurrent adjacent segments and ratio between lengths of successive segments. [Source: Wikipedia]
-
First you must have node.js installed on your system.
-
Edit the
config
insrc/index
file to your heart's content. -
open up a terminal and run this command
npm install
npx tsc
-
open up
public/index.html
and enjoy :)) -
Feel free to follow me or fork the project if you enjoy it!