Changing placement modes


show more Changing placement modes 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 ...

Changing placement modes

Processing also gives you several functions for positioning shapes such as rectangles and ellipses. And in this movie, I want to show you what some of your options are for doing that. I'll begin by simply putting a comment at the top with the name of this video. Then I'm going to create a window that's 600x200 and I'll turn on anti-aliasing. Then I am going to draw a rectangle. I'll go 250 pixels over and then come 50 pixels down then I'll make it 100 wide and 100 tall.

I'll also makes these strokes, strokeWeight of 20 pixels and so there's my default shape right there in the middle, just a default white fill with a black border. Now, note where it is. It's smack in the middle. This is the default positioning. I did this because I knew that it would be 100 pixels wide, and I put the corner it positions by the top left corner 250 pixels over and 50 pixels down.

On the other hand, you have an option of using different placement modes. The one that I just u...

Changing placement modes
Video duration: 5m 45s 7h 43m Beginner

Viewers:

Changing placement modes 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 ...