Tuesday, August 07, 2012

Processing and Android

I've been playing around with using Processing on Android and found (at least on my LG-G2X) that the P3D (OpenGL) rendered graphics is much faster than just leaving it at the default.  Realized this when I saw that the 3d graphics sketches were running much faster than the 2d sketches, but you can still use P3D for 2d sketches and get the speed improvements.

The magic line to have in your void setup(){
size(480, 800, P3D);

No comments: