Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boolean hasBeenDrawn = false;
- void setup()
- {
- }
- void draw()
- { if(hasBeenDrawn == false)
- { // code in draw loop
- hasBeenDrawn = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement