This should create a box.
It errors out and says “ERROR: Line: 1: TypeError: this._renderer.geometryInHash is not a function”
I’ve tried using the P5 library on an html page on my computer, and it worked just fine, did the engineers remove P5’s 3D primitaves?
Last I tried the 3d primitives worked.
I copied this game from p5.js website examples
Don’t think about making games with it. It’s really bugged, the canvas doesn’t clear when the game is reset.
I think your error occured because you didn’t use createCanvas() with WEBGL