Created
December 10, 2011 23:45
-
-
Save netdesign/1457113 to your computer and use it in GitHub Desktop.
Terzo Esempio
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
// La posizione del punto viene dichiarata con due variabili x ed y | |
int x = 100; | |
int y = 100; | |
void setup(){ | |
size(640, 360); | |
smooth(); | |
} | |
void draw(){ | |
background(0); | |
stroke(255); | |
strokeWeight(12); | |
point(x, y); | |
point(x*0.6, y*1.1); | |
point(x*1.5, y+140); | |
point(x*1.2, y-90); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment