hint(ENABLE_OPENGL_4X_SMOOTH). Arr, treasures lie hidden in many a source code.A word of caution, I’ve been having some problems with the browser freezing when quickly reloading or switching between applets, especially if using OpenGL. My hunch is that the image buffer doesn’t get garbage collected but I’m not technical enough to do anything about it. So if you encounter the same thing, let me know…For now, it’s probably easier to download the code and play around with it in Processing, version 135 BETA. Because of security risks, I’m not releasing the “framePoster” code, the class responsible for saving the images to the user gallery. No worry, this resource got me started (and finished).
Update: writing the above got my thinking muscle working. I didn’t have the problem before. So what changed? Different browser and Java versions turned out to be a red herring. The only other change was that I started to reorganize my applets reusing core Processing and OpenGL .jar archives in a single folder. Surely, this shouldn’t make any difference. Still, when I put every applet in a separate folder including a copy of each archive, the problem goes away. (Yay!). When switching between applets the memory used by the browser is now stable instead of increasing continuously.

