p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

p5.Graphics (object returned from the createGraphics() method) doesn't work with push() ?

Open dnassler opened this issue 12 years ago • 0 comments

Geting a javascript error when attempting to use push() on the object returned from "createGraphics(w,h)"... The following error occurs withing the p5 library.

Uncaught TypeError: Cannot read property 'push' of undefined

I'm using version 0.3.8 from CDN:

"//cdn.jsdelivr.net/p5.js/0.3.8/p5.min.js"

dnassler avatar Oct 07 '14 14:10 dnassler