Day 26: Branching Fractals
Various kinds of recursive tree visualizations. Additional references on yesterday's note page too.
Misc References
- First tree in V1 playlist <https://www.youtube.com/watch?v=RWAcbV4X7C8&list=PLRqwX-V7Uu6aFlwukCmDf0-1-uSR7mklK&index=72>
- L-Systems <https://www.youtube.com/watch?v=f6ra024-ASY&list=PLRqwX-V7Uu6aFlwukCmDf0-1-uSR7mklK&index=73>
- Coding Challenge Object Oriented Tree 15 <https://www.youtube.com/watch?v=fcdNSZ9IzJM>
- <https://codingtrain.github.io/website-archive/CodingChallenges/014-fractaltree.html>
Instructions
Most of these sketches use the DOM. They are best interacted with on their own pages.
- The first two have a slider that controls the tree angles. On has to scroll down in the embed to get to them and they are hard to see on the black background.
- The third makes a new level every time the letter "t" is pressed until the branches are too short and then it adds "leaves."
- The last has a "generate" button, also below the fold. On its own page the sketch spits out text into the HTML.
Hover the mouse over a sketch to make it run.