MakingFlower #isia #studenti #mousepressed #pmouse
/*****************************
SKETCH PROCESSING *flowers*
REALIZZATO DAGLI STUDENTI ISIA
LAURA D'AMICO
SARA ESSBAI
GRETA GALLI
GIULIA PASTORE
ANDREA VOIGTLANDER
*****************************/
void setup() {
background(255);
size(400, 400);
}
void draw() {
strokeWeight(8);
line(mouseX, mouseY, 200, 200);
//change color
if (mousePressed == true)
{colorMode(RGB,255,255,255);
stroke(pmouseX,pmouseY,150);
}
}