/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.ai95iiG$E2k/rev.173
*
* authors:
* joão Miguel
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
void setup() {
// tamanho da tela
size(300, 300);
// cor de fundo
background(255,0,0);
}
void draw() {
stroke(255);
line(150, 0, mouseX, mouseY);
stroke(150,150,150);
line(150, 300, mouseX, mouseY);
}