openobject.org

S3200642 Processing sketch - project 3

From Physical Programming

BEK CRAWFORD'S PROCESSING SKETCH


VERSION ONE

Media:Bek Crawford Processing Version One.zip

This Processing Sketch has been programmed to "plant" flowers wherever you click in the graphic window.

When you drag the mouse over the screen, it leaves a trail behind it.




As soon as you click the mouse, the flowers change colour, and you "plant" an orange and pink flower, whilst leaving a trail of blue and green flowers behind you




If you press a keyboard key, the background colour changes (randomly) and the trail of flowers vanish, leaving only the flowers that were clicked into place.




VERSION TWO

Media:Bek Crawford Processing Version Two.zip

This Processing Sketch has also been programmed to "plant" flowers wherever you click in the graphic window.

When you click, a flower is planted.




When the mouse is pressed, the flowers change from orange and pink, to blue and green.