In this lab, we will be dealing with processing. All code. THis will be a first for me as i have never coded anything. The first part of this lab, we were instructed to make our names read out in the reader display on the bottom of the program. This was easy enough. Follow simple instructions. use the print command to make it display.

Structure
The next part of the lab become more increasingly difficult. THis would be our first real sketch. It requres us to draw simple primitive shapes on the processing area. Because of the way that the processing area is mapped out, we have to use the X,Y orientation to plot the coordinates onto the area. Knowing the commands or the code for the primitive shapes was the easy part, but mapping out their individual points is whats hard. You really have to pay attention to the grid/ graphing system to get it exactly right.

First
The next step in this lab was to take it a little further with the primitive shapes and add attributes to them such as fill colors and stroke widths. This was fairly simple, once you understand how the loop is read and where to add the attributes so they will apply to the specific primitives, this lab became easily understood.

Form Color
The next step of this lab was to recreate a josef albers painting. This was cool, because if you have ever looked at a josef albers painting, then you will know that he focusses on simplicity. THis exercise was interesting. I used this to enhance my positioning skills. I wanted to get it almost exactly in the same position as it was on the painting, so i focused heavily on the pixel width and positioning.

Albers
Ok, now were getting a little more challenging with our processing. Creating a paintable area with processing is fairly hard. THe amount of time that i used just to discover a small amount of code is CRAZY!…and FUN! For this exercise we had to create a paint brush with processing. THis is where i discovered the mouse x mouse y code. THis made it very simple to map out a squares and have them follow my mouse like a paint brush would.

Paint Brush
The next portion of the lab would require me to use conditionals to make the brush only draw when the moused is pressed down. Mouse pressed…was obviously one of the conditionals that i needed to use in this part. This was a simple addition to the code that i already had. Just adding the moused pressed icon.

Mouse Brush
The next part of this lab is to create an area that the mouse can only paint in. This is also using a conditional to execute this processing feat. Defining the perimeters of the the area and the conditionals that apply to that area are what make it work.

Area
And for the final, we just had to make it have a button, that clears the screen. This was an interesting concept because, i didnt know how i was going to approach this problem. After i drew on the screen, i wanted it to be clear again once i pressed the button. I wanted to start the sketch over again with a clear screen, so thats what i did.

Final