//This is Excercises 1 through 3 from Data 1 in Processing /*Exercise 1: I think use integers more than floating numbers, even though money always comes down to nickels and dimes. For the most part, though, the numbers I encounter regularly are whole numbers. I buy 3 apples, it's 40 degrees outside, I wear a size 2, I live on the 5th floor...etc. Hooray for integers.*/ float x = 2.0; float y = 2.5; int z = 4; void setup(){ size(460,700); background(29); println("x is " + x); println("y is " + y); println("z is " + z); } void draw(){ smooth(); stroke(76,1,36); strokeWeight(19); fill(0); triangle(width, height, 0, height, height/x, width/y); fill(123); ellipse(width/x, height/y, width/z, width/z); }