This project allowed us to draw using crayon-like strokes. After building a class we gave it simple modificatons to make it draw different lines. For simplicity, we worked off of aggregateBase to produce crayon-like trees. I also added buildings from cityshapes. Within aggregateBase we modified most of the functions and create a method that would call the function. Finally, we applied it to the trees in our L-systems. To create a paintbrush we would have to create a different class. We could perturb the endpoints rather than the midpoints to create brush-like strokes. Inheritance is important in computer science because a parent code simplifies things a lot. It also cuts down on code. In terms of overriding setWidth: we needed to override a "set width" because the width needed to be random. Otherwise it wouldn't look like crayon. My image take the buildings and trees from the last project and makes them draw in crayon.
<