Advanced Processing Mouse Example #5 M. Meyer */ /** ******************** Variables: */ /** ******************** setup(): */ void setup() { size( 200, 200 ); } /** ******************** draw(): */ void draw() { background( #cccccc ); rect( mouseX, mouseY, 20, 20 ); } /** ******************** Event Handlers:

Source code: FifthProgram

Built with Processing