Mouse tracking


show more Mouse tracking provides you with in-depth training on Developer. Taught by Barton Poulson as part of the Interactive Data Visualization with Processing show less
please wait ...

Mouse tracking

In this movie, I want to show you a little bit more about how you can use the mouse to create the drawings and to interact with your sketch. This one, after I put a little comment in here with the title in it, is a pretty simple sketch. I'm going to first create my setup block. So I put void setup, and then in curly brackets I'm going to put the size of the window. I'm going to turn on anti-aliasing.

I'm also going to change the frame rate, because I don't want this one updating too often. I'm going to slow it down just a little bit; maybe I'll put it to 8 frames. This is frames per second. Processing by default will try to run at 60 frames per second, although there are some sketches where that just won't be possible. And then I'm also going to put the background in, and this one I'm going to give a bright white background. So there's my setup. Then I'm going to create my block for draw, do a void draw.

And what I'm going to d...

Mouse tracking
Video duration: 3m 54s 7h 43m Beginner

Viewers:

Mouse tracking provides you with in-depth training on Developer. Taught by Barton Poulson as part of the Interactive Data Visualization with Processing

Subjects:
Developer IT
Software:
Processing
Author:
please wait ...