Open mimiyin opened 1 month ago
I can no longer reproduce this issue.
Just a FYI that I may have identified the step required to reproduce the issue:
It seems to me that a key factor to trigger the error is to enable accessible output (ctrl+shift+1 to enable, ctrl+shit+2 to disable on Windows, replace "ctrl" with "cmd" for macOS).
https://github.com/processing/p5.js-web-editor/issues/3243#issuecomment-2416112003
Most appropriate sub-area of p5.js?
p5.js version
1.8.0+
Web browser and version
128.0.6613.86 (Official Build) (x86_64)
Operating system
MacOSX
Steps to reproduce this
Steps:
Draw ellipse(400, 400, 400,400);
Change the y-coordinate to 440
Error
Draw ellipse(400, 0, 400,400);
Change the y-coordinate to -1
Error
I was not able to repro with changes to the x-coordinate I was able to repro with line() and rect(). Errors go away with pre 1.8 versions.
Error: TypeError: Cannot read properties of undefined (reading '9') at undefined:52576:53
πΈ p5.js says: [p5.js, line 52576] Cannot read property of undefined. Check the line number in error and make sure the variable which is being operated is not undefined.
Snippet: