This page tests the fix for bug 597 for Processing.js
If the canvas and image below are identical, the test has passed.
// Test by Andor Salga
import processing.opengl.*;
void setup() {
size( 100, 100, OPENGL );
translate( width/2, height/2, 0 );
box( 20, 20, 20 );
}
void draw(){
background( 0 );
fill( 200, 0, 0 );
translate( width/2, height/2, 0 );
box( 40, 20, 5 );
}