Posts in category Beginner
Simple Program
Let’s create a simple program that will swap the values held in two variables called “firstValue” and “secondValue.” As you follow along, it is helpful to think of variables as boxes that can store only one value. These boxes also have photocopiers to make copies of values and shredders to destroy values Step 1 On […]
Colors
1 In art class if you wanted to create orange paint you would mix together yellow and red paint. Creating colors on a computer is a little bit different, because when computers create colors they mix light, not pigments. RGB: Computers mix 3 colors of light, red, blue, and green, and they can be mixed to […]
Processing Tutorial – Making Sh...
Circles We use the ellipse() function for circles because an ellipse is a rounded shape like an oval. ellipse(50,50,50,50); coordinate grid ellipse(50,40,35,70); Rectangles rect(10,10,80,80); coordinate grid rect(10,20,80,40); Triangles triangle(10,10,90,50,10,90); coordinate grid triangle(10,10,90,10,50,90); Other Shapes You can create lots of other shapes in Processing, includ- ing arcs, lines, quads (otherwise known as shapes with 4 sides), […]