Skip to content

Instantly share code, notes, and snippets.

@federico-pepe
Created August 12, 2015 16:38
Show Gist options
  • Select an option

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

Select an option

Save federico-pepe/fa93b1b63346dbcb8fe5 to your computer and use it in GitHub Desktop.
Blocchi di codice e flusso: setup() e draw()
void setup() {
// Questo codice verrà eseguito una sola volta
size(500, 500);
}
void draw() {
// Questo codice verrà ripetuto a una frequenza di 60fps
fill(255, 0, 0);
ellipse(250, 250, 150, 150);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment