D20245: electric activity
Deepak Kumar
noreply at phabricator.kde.org
Thu Apr 11 19:24:19 BST 2019
dekumar added a comment.
In D20245#448297 <https://phabricator.kde.org/D20245#448297>, @jjazeix wrote:
> In D20245#447012 <https://phabricator.kde.org/D20245#447012>, @dekumar wrote:
>
> > With reference to @echarruau question on irc. This is how the json strucuture will be maintained and loaded to the cktsim() library https://pastebin.com/JkmhVR9x
> >
> > Here 'g' : ground, 'w': wire, 'r', resistor of the components is also stored in form of json with them. I ran the cktsim library with this json and gives the output "The json strucuture loaded is valid". The result will be computed in the same way, as there is a result dictionary maintain for every node in cktsim() of the library.
> >
> > Thanks!
>
>
> Hi,
>
> Thank you. Why is it in a separate file and not having it integrated directly in the activity?
Hi, there is some work around more to be done to capture and maintain the json structure for the canvas board. This was just an example to show the json structure which will be maintained for the canvas board. I have integrated this sample code too in the analog.js file and it works fine with no issues.
Thanks!
REPOSITORY
R2 GCompris
REVISION DETAIL
https://phabricator.kde.org/D20245
To: dekumar, #gcompris_activities, jjazeix, scagarwal, timotheegiet, amankumargupta, echarruau
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190411/4db1a899/attachment.html>
More information about the kde-edu
mailing list