Created
April 3, 2018 14:19
-
-
Save jearmstrong21/d9c91fc9afbd7834033f9b1f33b3e3b6 to your computer and use it in GitHub Desktop.
ProcessingSketchStructure
This file contains 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(){ | |
doInit(); | |
} | |
void mousePressed(){ | |
doInit(); | |
} | |
void draw(){ | |
doUpdate(); | |
doDisplay(); | |
} | |
void doInit(){ | |
//initialize global variables and stuff | |
} | |
void doUpdate(){ | |
//update global variables and stuff | |
} | |
void doDisplay(){ | |
//display global variables and stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment