-
Notifications
You must be signed in to change notification settings - Fork 52
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
Breadboard element not available in source code. #172
Comments
Hey @sahilrastogi94, |
Hi @sahilrastogi94. Some elements/parts are in beta, and don't have the documentation published on https://elements.wokwi.com. I believe that the Breadboard has a special limitation, as it is created with JavaScript at runtime. I remember reading about it while following the implementation of this element at wokwi/wokwi-features#434. and perhaps this “workaround”/hack kept it in beta
|
Hi @Agaba-Ed I'm glad you're interested in Wokwi! You're right that the source code for the element simulation logic is not publicly available. This is mainly due to security issues, as the simulation engine is a core component of Wokwi's functionality. Making it public could compromise the stability and uniqueness of the platform. While we (the community) understand the desire for full transparency, we believe that this approach is necessary to ensure Wokwi's long-term sustainability. Within the limitations of wokwi, Urish has shared the elements (Web Components) for us to use in our own projects. As well as the simulation engines of the boards (Arduino, ESP32, ...). He even teaches you how to create customized Web Components with simulation! The wokwi API also allows us to create custom elements and program their simulation (called (custom chips)[https://docs.wokwi.com/chips-api/getting-started]). If you're interested in learning more about how to create custom elements and their simulations, @urish teaches on the wokwi blog. I recommend visiting https://blog.wokwi.com for tutorials and examples. I also invite you to join our community on Discord to ask questions and get help from other users. Urish and the wokwi community are always working to improve Wokwi and make it even more accessible. Useful links:
|
Hi @djedu28, Thanks for sharing this link wokwi/wokwi-features#434. After going through it, I realize there's still quite a bit I need to tackle with the breadboard. I had already followed some of @urish's tutorials and borrowed a few ideas, but I'm taking a slightly different approach. Once I finish up the feature, I might consider making it public. Honestly, I don't know if I would have gotten this far without your guidance. Appreciate the support and all the great work you're doing! Cheers! |
Hi @Agaba-Ed, |
Hi @djedu28, |
Hi @sahilrastogi94. That's impressive. The GIF looks cool! |
Hi,
I can see that the Breadboard element is available on the simulator, but I don't see it in the source code or https://elements.wokwi.com/. Any particular reason?
The text was updated successfully, but these errors were encountered: