The WEBGL-Renderer (p5.js)
Please note that this element is still in development
P5.js users beware!
In Processing the 3D renderer is called P3D. In p5.js, however, it is called WEBGL.
In P5.js you also need to specify a third parameter in the createCanvas()-function to indicate you want to work in 3D.
WEBGL and P3D have the same use case but there are a few differences how the renderers work and what they can handle.
//P5.js
createCanvas(500, 500, WEBGL);
Related Links
Published by Tim on Friday November 4, 2022