p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
My first guess is that there's a name collision between the autoSized() method and the property which is a Boolean. Here's the implementation for reference:
Most appropriate sub-area of p5.js?
p5.js version
1.9.3
Web browser and version
Chrome 124.0.6367.91
Operating system
macOS 14.4.1
Steps to reproduce this
Steps:
myBuffer.autoSized()
TypeError: myBuffer.autoSized is not a function
.Here's the full sketch.
My first guess is that there's a name collision between the
autoSized()
method and the property which is aBoolean
. Here's the implementation for reference: