Created
February 10, 2016 19:23
-
-
Save SLOLNE/1bbfed33d6c66c5bfd4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() | |
got this from one of the examples, likes the thumbnail. | |
I added more points | |
{ | |
size(600, 600); //size of canvas | |
background(192, 64, 10);//background colour= orange | |
} | |
void draw() {//opens draw loop which runs on loop | |
stroke(10, 120);// stroke | |
line(200, 300, mouseX, mouseY);//line start point x,y coords and then mouse x and mousey | |
line(400, 200, mouseX, mouseY);//'' '' | |
line(200, 400, mouseX, mouseY);//'''' | |
line(400, 200, mouseX, mouseY);//'''' | |
/// | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment