Specifying line attributes


show more Specifying line attributes 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 ...

Specifying line attributes

In this next video, we're going to look at some of the ways that Processing allows you to modify the way that lines are drawn as well as circles and rectangles, with some pretty fundamental things like stroke weight, the ends of strokes and the way things are joined together as well as methods for placing rectangles in the circles. Let's start by drawing a few lines and show some functions that you may have already seen a few times. I'll start by putting the name of the file as a comment and them I'm going to put in a palette and I call it rainbow, I've used this one before.

And so it's an array of colors, I'm just going to put in FFFFCD, CC5C54, F69162, 85A562 and the last one is 7AB5DB. Okay, this is a palette I've used previously. All right.

Now what I'm going to do is I'm going to draw a window. I'll make it 600x200, and we'll just pull that up really quickly. It's got a gray background. So what I'm going to do is I'm going t...

Specifying line attributes
Video duration: 8m 2s 7h 43m Beginner

Viewers:

Specifying line attributes 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 ...