Lab 1 – Maxwell Abrams

This is my code from Lab 1. I had  quadratic curve (would have been the WEST button) included, but unfortunately it did not work (null stroke) on the day I wrote this code. The folder is labeled EPGY. I did manage to get the clear working (without using the new SimpleGraphics). An interesting/challenging part of this lab was getting any shape to draw when the mouseDragged passed the mousePressed location. What this means is when you went closer to (0,0) and passed your initial point, the shape would, on my first try, becomes a line or one pixel. Math fixed this problem =D. One can also draw without needing to press the button multiple times for the same shape.


Leave a Reply

You must be logged in to post a comment.