Removing a few examples for 2.0

This commit is contained in:
Casey Reas
2011-09-16 00:02:20 +00:00
parent 93b887ee24
commit c3b8b312a0
31 changed files with 318 additions and 417 deletions
@@ -2,24 +2,39 @@
* Variables.
*
* Variables are used for storing values. In this example, change
* the values of variables 'a' and 'b' to affect the composition.
* the values of variables to affect the composition.
*/
size(640, 360);
background(0);
stroke(153);
strokeWeight(2);
strokeWeight(4);
strokeCap(SQUARE);
int a = 60;
int b = 100;
int c = 200;
int d = 120;
int a = 50;
int b = 120;
int c = 180;
line(a, b, a+c, b);
line(a, b+10, a+c, b+10);
line(a, b+20, a+c, b+20);
line(a, b+30, a+c, b+30);
a = a + c;
b = height-b;
a += 100;
b += 50;
line(a, b, a+c, b);
line(a, b+10, a+c, b+10);
line(a, b+20, a+c, b+20);
line(a, b+30, a+c, b+30);
a = a + c;
b = height-b;
line(a, b, a+c, b);
line(a, b+10, a+c, b+10);
line(a, b+20, a+c, b+20);
line(a, b+30, a+c, b+30);