-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instance specific variables for vertex() #3651
Comments
Hey can I work upon this issue? |
hi @simranaggarwal1999 sorry we didn't see this issue before, |
@montoyamoraga Thankyou! for assigning this issue to me. But as of now I am quite busy with my college stuff. |
@simranaggarwal1999 i can unassign then and you can work on it when you can, don't worry :) |
Just FYI, there are issue with both the webGL and canvas renderers. Both seem to work fine with just a single instance, but are broken when there are multiple instances on the same page. Here's a jsfiddle with the repro: https://jsfiddle.net/sflanker/nxzhp3bq/1/ |
^ We're planning on partially addressing this in #6560 🙂 |
Nature of issue?
Most appropriate sub-area of p5.js?
Which platform were you using when you encountered this?
Details about the bug:
This sketch can be used for reference :
Tips to use :
Uncomment the global sketch functions to see normal behavior.
A lot of the variables in vertex.js are present globally, and are not instance specific , leading to errors in instance mode.
Possible solution : Make the variables in vertex.js instance specific .
Waiting for suggestions ,
Thanks !
The text was updated successfully, but these errors were encountered: