p5.js 3d rendering

I've been experimenting with p5.js over the last few days. I like it a lot.

However I have a few questions related to 3d capabilities.

First of all, how can I render things in wireframe? I can't seem to find it.

Secondly, when the canvas is scaled (resizeCanvas(windowWidth, windowHeight);) everything stretches. What's the fix for this?

Answers

  • 3D implementation in p5.js has barely started!
    Right now you can use pjs instead. Which is the framework used by PDE's "JavaScript Mode".

Sign In or Register to comment.