Guest User

Untitled

a guest
Jun 17th, 2014
240
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. boolean hasBeenDrawn = false;
  2.  
  3. void setup()
  4. {
  5. }
  6.  
  7. void draw()
  8. { if(hasBeenDrawn == false)
  9.   { // code in draw loop
  10.     hasBeenDrawn = true;
  11.   }
  12. }
RAW Paste Data