Monday, 17 December 2012

Homework

These eyes were created using the mapping function. the eyes X and Y are controlled by the mouse X and mouse Y. The mapping creates an offset so for example when the mouse is at x 0 the eyes position will be at x 200. when the mouse x is at x 600 the eyes will be at x 400. It creates boundaries that the eyes position stay inside. 


This doesn't seem to work embedded on the blog. if you click on the link, you can view it in open processing  this was created using the same method as the example above. the only difference is I have replaced the ellipses with images to give it a better look and feel.


This example doesn't seem to work properly either. Embedding it doesn't seem to find the images. this uses an combination of the mapping function. particle arrays and a mouse over with a mouse pressed function.


No comments:

Post a Comment