Final Exercise: Moving Cubes

For the final exercise I took the  basic outline and recreated and modified the example we made in class. I created a wider arrange of colors for each of the shapes and varied the sizes of the cubes. Along with this I modified the starting speed and the angular speed allowing them to head off in any direction. Lastly I introduced the mouse functionality of the program using the left and right click of the mouse. If no button is pressed the cubes will just continually bounce around the screen as they normally do. If, however, the left mouse button is clicked all the shapes will ease themselves towards the mouse and stop. If the right mouse button is pressed they will move apart more quickly as they speed up faster towards the edges.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s