Day 4

Today we learned how to add movement to our drawings. We also learned how to make the color of the background change while the mouse moves over the picture.  The function void draw() allows us to add movement.  In order to make the background change color the function background(mouseX,mouseY) has to be in the void draw function not the  void setup function.  For the project that I showed today I used the example of the eye that we saw in the beginning of class. The difference in my project is that I added a triangle, made the colors transparent, and used the void draw function to make the eye and triangles follow the mouse and draw without any color change.