S3149209 Pure Data patch - PROJECT 2
From Physical Programming
media:S3149209_-_PD_PATCH.zip
This PD patch (once created) takes inputs from the mouse buttons when they are clicked or held down. This only happens when the mouse is in the 'gem-window'. These inputs control curtain aspects of the sphere (which is set up to automatically generated).
To run my PD patch open the file and simple hit enter! there is a key stroke set up to except this command and create a gem-window. If at any time you want to close or 'destroy' the gem window and restart the ESC key is set up the same way. Once you have loaded the patch and created your window click the bang button connected to 's start' and ENJOY!
The left mouse button controls the rotation through both the X and Y axis, the Right mouse button controls the colour (mixing blue - top right corner and green - bottom left corner) and clicking the mouse wheel controls the size of the sphere.
These actions (clicks) are mapped across the screen through coordinates from the mouse, stored in several different 'float' boxes and then outputted into the necessary manipulations - 'rotateXYZ' 'colorRGB' and the size input for the sphere.
Todd DAWSON - s3149209

