/** * Continuous Lines. * * Click and drag the mouse to draw a line. */
void setup() { size(640, 360); background(102); }
void draw() { stroke(255); if(mousePressed) {
line(mouseX, mouseY, pmouseX, pmouseY);
}
}
/** * Continuous Lines. * * Click and drag the mouse to draw a line. */
void setup() { size(640, 360); background(102); }
void draw() { stroke(255); if(mousePressed) {
line(mouseX, mouseY, pmouseX, pmouseY);
}
}
Our goal is to make the OpenLab accessible for all users.
Our goal is to make the OpenLab accessible for all users.