I get Error: 'CanvasElement' is undefined when trying to run the following code using the javascript port of processing.
var p = Processing(CanvasElement); p.size(100, 100); p.background(0); p.fill(255); p.ellipse(50, 50, 50, 50);
Any help with this would be appreciated.