FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   Is draw() reserved?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Is draw() reserved?  (Read 268 times)
narain


Is draw() reserved?
« on: May 7th, 2004, 10:03am »

When I type 'draw', Processing highlights it in bold maroon like 'setup' and 'loop'.
I can't find any mention of draw() anywhere in the docs, though. Is it reserved for internal use or something?
 
TomC

WWW
Re: Is draw() reserved?
« Reply #1 on: May 7th, 2004, 10:43am »

For fixed images, use draw instead of loop.
 
It only gets called once.
 
narain


Re: Is draw() reserved?
« Reply #2 on: May 7th, 2004, 1:13pm »

Thanks! That'll be useful.
 
No more "if (firstFrame) {firstFrame = false; ...draw...}"
 
Pages: 1 

« Previous topic | Next topic »