How could we have an electronic circuit editor in TAO platform? Years ago, I explored many solutions for DEPP (French Ministery of Education service in charge of statistics) and I think that this new solution could benefit to many TAO users.
H.Lorenzi has created an open source project of this kind (https://github.com/hlorenzi/circuitsim). The idea is to use this project as a model. If you analyze the code, it is based on nodejs and build with Webpack, that is not compatible with the PCI structure. The challenge is to change the Javascript design patern to RequireJS, to make it compatible with the PCI format for TAO.
This applet has 2 main functionalities :
1. the graphic editor
2. the solver.
The solver is a module that calculates the representation, depending on the elements and their connections. It displays the values (Volt, Watt …), the electric current animation and its speed.
I explored successfully this solution as a proof of concept of a TAO PCI Electronic Circuit Editor.
Refactoring all the object system et restructured the code to fit to PCI, this electronic circuit design tool works now in TAO. Of course, all complementary features must be developed, adding options : elements and symbols. The item creator could choose what to display, using the solver or not, using different type of symbols (beginners, students, professionnals), adding much more elements to the palette.
If you are interested in this project and have ideas on how to make it better. Please contact me or leave a comment.