This page tests the fix for bug277 in Processing.js
This page creates a canvas without width and height attributes, but sets
a width and height of 200 using css. The page then attempts to
load a sketch which uses a call to size(100,100,P3D). That is, the dimensions in the CSS
and Processing sketch are not identical in this test case.
If a lit sphere is rendered in the canvas, the test has passed.
// Test from Processing.org void setup() { size(100, 100, P3D); } void draw() { background(0); noStroke(); pointLight(51, 102, 126, 35, 40, 36); noStroke(); translate(80, 50, 0); sphere(30); }