Removing some examples

This commit is contained in:
Casey Reas
2011-09-06 03:51:23 +00:00
parent 5e0e9eaedc
commit 68c460be7d
30 changed files with 76 additions and 1215 deletions
@@ -16,7 +16,7 @@ int lastTime = 0;
void setup()
{
size(640, 200);
size(640, 360);
strokeWeight(12);
smooth();
background(204);
@@ -4,14 +4,18 @@
* Click and drag the mouse to draw a line.
*/
int px, py;
void setup() {
size(640, 200);
size(640, 360);
background(102);
}
void draw() {
stroke(255);
if(mousePressed) {
line(mouseX, mouseY, pmouseX, pmouseY);
line(mouseX, mouseY, px, py);
}
px = mouseX;
py = mouseY;
}
@@ -19,8 +19,8 @@ void setup() {
void draw() {
// Draw only when mouse is pressed
if (mousePressed == true) {
angle += 10;
float val = cos(radians(angle)) * 6.0;
angle += 5;
float val = cos(radians(angle)) * 12.0;
for (int a = 0; a < 360; a += 75) {
float xoff = cos(radians(a)) * val;
float yoff = sin(radians(a)) * val;