this._renderer.applyMatrix is not a function

I tried running the final code from these examples:
https://p5js.org/reference/#/p5/applyMatrix

Yet, the animation doesn’t work locally nor on their own editor (https://editor.p5js.org).

What am I missing?

Paste it here instead: My Sketch - OpenProcessing

For running p5js locally, read this:

2 Likes