This page tests the fix for bug 596 in Processing.js This
// Test by Andor Salga import processing.opengl.*; void setup(){ size(100, 100, OPENGL); translate(width/2, height/2); box(20); }