First page Back Continue Last page Graphics
Setting the FPS, contd
We could tell Processing how many frames per second!
- frameRate(fps) : draw this many frames per second
- must be initialized in the setup function
- this is better, since math operations, etc will occur as fast as possible, only drawing actions will slow down
Example code:
See Lesson6a