Skip to content

Instantly share code, notes, and snippets.

@federico-pepe
Last active September 9, 2015 12:10
Show Gist options
  • Select an option

  • Save federico-pepe/bafa363403093662d5d0 to your computer and use it in GitHub Desktop.

Select an option

Save federico-pepe/bafa363403093662d5d0 to your computer and use it in GitHub Desktop.
Scopo delle variabili 2
int circleX; // dichiarazione
void setup() {
size(400, 400);
circleX = 100; // inizializzazione
int circleY = 110; // dichiarazione e inizializzazione
}
void draw() {
ellipse(circleX, circleY, 50, 50); // utilizzo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment