We are about to switch to a new forum software. Until then we have removed the registration on this forum.
At the moment I'm developing an app that I want to run as a web page and as an Android app, and maybe also a Java applet just because I'm getting better performance in that than anything else. The problem with doing this in Processing is, of course, that there are a few bits of language that are still different enough to need re-writing for different platforms and modes.
I'm just wondering if there's a more elegant way of dealing with this than having blocks of code in your sketch which you comment out or put back in depending on which mode you're targetting?