Stroke Opacity Ratio:
Stroke Weight Ratio:
Branch Length Ratio:
Branch Length Variation:
Angle Range:
Minimum Length:
Lower Colour:
Upper Colour:
Background Colour:
Transition Level:

To re­set pa­ra­me­ters sim­ply re­fresh the page.

Explanation

For a full ex­pla­na­tion of what is be­ing drawn here, please re­fer to my main port­fo­lio en­try. I have also im­ple­mented a ver­sion of this gen­er­a­tor that in­cu­d­les a wind sim­u­la­tion. For this please click here. In this sketch I have made the fol­low­ing pa­ra­me­ters avail­able for tweak­ing:

Acknowledgements

This sketch was com­pleted us­ing the p5.js JavaScript li­brary (li­cense here) which pro­vides an ex­cel­lent frame­work for vi­sual cod­ing pro­jects such as this. I also used js­color (li­cense here) for se­lect­ing the colours. This pro­ject was greatly in­spired by The Coding Train’s video.