Most appropriate sub-area of p5.js?
p5.js version
2.x
Web browser and version
FireFox
Operating system
Linux
Steps to reproduce this
Steps:
- Go to p5.js web-editor.
- Switch the project to p5.js v2.x and select the minified build instead of the full library.
- Create a sketch that would normally trigger a Friendly Error (FES) and Run the sketch.
Observed behaviour:
- The console shows: TypeError: e._friendlyError is not a function.
- Execution is blocked.
Expected Behavior
- No runtime error should be thrown.
- The Friendly Error System should suppress/block nothing and allow the sketch to continue running.
Snippet:
function setup() {
createCanvas(100, 100, WEBGL);
box(50);
setAttributes('antialias', true);
}
function draw() {
background(255);
rotateZ(frameCount * 0.02);
rotateX(frameCount * 0.02);
rotateY(frameCount * 0.02);
fill(0);
box(50);
}
Here's the sketch : https://editor.p5js.org/aman12345/sketches/HzJz4-R6t