Dimensions in P5

Yesterday I decided to check out p5.js, a javascript library for building graphics and visualizations, and it seems really intuitive and cool! One of the things I looked at was L-systems.



L-systems can be used to procedurally generate/render a bunch of really cool stuff like realistic looking trees and other natural phenomena, but im a noob so i’m just playing around with the geometric algorithm that’s provided in the p5.js example project.

Apart from the fact that the resulting shape sort of resembles the silhouette of my neighbor totoro, there’s something else that’s interesting about this shape!

totoro