Hello,
I tried this
function setup() {
createCanvas(800, 600);
}
function draw() {
print(webglVersion);
}
with or without WEBGL in the createCanvas() function
and I have in both cases
Uncaught ReferenceError: webglVersion is not defined
I’m using the Processing editor with the stable p5js plugin (the new p5js plugin doesn’t work in linux for now !)
In the web editor, it works !
Is there a way to do this in the Processing editor now ?
P.S. I need my new PstarEngine project (for 2D AND 3D) to know the context
![]()
N.B. if that’s not possible for now, I can still configure it manually in the code !