This page tests the fix for bug277 in Processing.js
This page creates a canvas with a width and height of 100 and attempts to
load a sketch which uses a call to size(100,100,P3D). That is, the dimensions in the HTML
and Processing sketch are identical in this test case.
If a sphere is rendered in the canvas, the test has passed.
// Test from Processing.org import processing.opengl.*; // next line tests the parser // size(100, 100, P3D); void setup() { size(100, 100, P3D); } void draw() { background(33,66,99); translate(width/2, height/2, 0); sphere(30); }