|
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
|
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...}"
|
|
|
|
|