Created
December 10, 2011 23:38
-
-
Save netdesign/1457078 to your computer and use it in GitHub Desktop.
This file contains hidden or 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); | |
| } | |
| void draw(){ | |
| background(0); | |
| point(x, y); // Nella funzione si inseriscono i nomi delle variabili | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment