We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all, I'm using p5.js and recently had a webgl sketch working. I've visited the site today and it was saying that "WEBGL is not defined", I changed it to createCanvas(width, height, "WEBGL"); and it then gave me the feedback "p5.js:4241 Uncaught not yet implemented" which relates to p5.rotate.X. Have there been a change to how webgl is declared or its functions in p5.js recently? I made sure I have the most recent version. Thanks Chris
Answers
It's either WEBGL or 'webgl'! 8-X
Thanks GoToLoop, "WEBGL" seems to work as well, the bigger issue is p5.rotate.X not working, any ideas? Chris
I don't think the value stored in constant WEBGL is 'WEBGL'.
But if you say it works, 1 problem less, right? O:-)
I dunno anything about property p5.rotate.X.
Wouldn't it be method rotateX() instead?
http://p5js.org/reference/#/p5/rotateX