About this stage
At each level of complexity, we will 'grow' a triangular 'blip' on each side of the parent triangle. If blips are added to blips, the thing will get very bumpy very quickly.
We set up the levels in this stage. but it may not be functional right off the bat.
What's important to notice in the drawSegment function is that we added a parameter to the function: level and created what is known as a 'base case'. In this case, (sorry for the pun) 'level' establishes a circumstance where the drawing of segments will stop. There will be no more calls of the recursive function drawFunction again. If the level is NOT zero, the drawSegment function will continue to call itself until level is zero.
This madness will be incorporated in the next stage of development. As you can see, we have a levels 'slider' but it's not doing anything...yet, if level is greater than zero.
Last update: 01/27/20