-
Notifications
You must be signed in to change notification settings - Fork 46
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
Clarification needed of p5.js-widget tool features. #83
Comments
Hey @Mamatha1718! I see no one has answered this, so I'll do my best. I'm not sure I understand your question, but it sounds like you're asking:
Simply: not really.
Hope that helps! |
Hi @citelao , Thank you for your clarification, Instance mode in p5.js allows you to run multiple sketches on a single page without conflicts. Normally, in global mode, all p5.js functions (setup(), draw(), etc.) are global and can clash if there are multiple sketches. 👉 In instance mode, each sketch is wrapped inside an object, preventing conflicts and allowing multiple independent sketches on the same page. Example of Instance Mode (Multiple Sketches on One Page)
How Does Instance Mode Help? Does the Thanks In Advance😊 |
Sounds like you want to run different sketches on one page. Yes, the tool supports that (the demo page does this). |
Hi @citelao Thank you for your clarification. but the demo page gives the error "404 Can you share again the demo page. Thank You in advance. |
Hi @citelao , Friendly Sketch Embedder for p5.js Expected outcomes: A possible technical outcome could be a standalone interactive webpage with user-friendly settings that helps visitors to generate sketch embed code depending on their needs. The community impact can be very wide, making it easier for users to take their work beyond a classroom or a tutorial and into their own interactive online space. |
This is the demo page: https://toolness.github.io/p5.js-widget/ I don't think this issue is the best place to ask for GSOC project feedback. Consider the P5 Discord or forum instead. |
Hi @citelao , Thank you for your suggestions. I will ask in discord channel about gsoc. |
I would like to know this details from p5.js-widget tool in this repo there is no discussions tab. So i am asking in this issue.
I am eager to know some doubts about p5.js-widget tool. This tool work on below embed features or not. using simple embed code
<script src ="sketch.js " autosave />
showcode
code editable
instance mode
auto sound
different sketches in one page with different features.
In documentation of p5.js-widget tool there is only two features autosave and auto complete.
Your answers are very helpful to me.
Thank you in advance.
The text was updated successfully, but these errors were encountered: