Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 289 Bytes
void setup() {
size(750, 350);
pixelDensity(displayDensity());
stroke(255);
}
void draw() {
background(128);
for (int i = 0; i <= 50; i++) {
line(i * (width/50), height/2, mouseX, mouseY);
}
}
void keyPressed() {
if (key == 's') {
saveFrame("sketch02.jpg");
}
}