Skip to content

Instantly share code, notes, and snippets.

@netdesign
Created December 10, 2011 23:38
Show Gist options
  • Select an option

  • Save netdesign/1457078 to your computer and use it in GitHub Desktop.

Select an option

Save netdesign/1457078 to your computer and use it in GitHub Desktop.
// 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