Created
August 12, 2015 16:38
-
-
Save federico-pepe/fa93b1b63346dbcb8fe5 to your computer and use it in GitHub Desktop.
Blocchi di codice e flusso: setup() e draw()
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
| 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