Processing

Processing Techniques – get(), mouseX and mouseY (interaction)

With further development of my skills I progressed on to working with basic interaction techniques in Processing, with the use of such references as get(), mouseX and mouseY.

In this particular example I loaded an image ‘loadImage()’ in Processing, drew a rectangle ‘rect ()’ and applied the references ‘get()’, ‘mouseX’ and ‘mouseY’ to produce a form of interaction where the images colour is depicted within the rectangle when the mouse is hovered over it (Processing 2 2014).

Screen Shot 2014-11-30 at 12.14.34

33

References 

Processing 2, 2014.  Get() [online].  Processing.org.  Available from: https://processing.org/reference/get_.html [Accessed 17th November 2014].

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s