Dear Bruce,
First of all thanks for your compliments and your fast response.
You basically confirmed what I already suspected: you have to "hack" the transpilation logic to make operator overloading work.
Currently I'm maintaining two versions of each app, one for the stand-alone VPython, and one that is meant for transpilation to Javascript. This is gradually becoming a maintenance nightmare, so the initiative to migrate to piodyde makes sense to me . On the other hand, with the 3D graphs I've just created, the GPU is working hard already, so the rendering of the mesh may become unacceptably slow when using piodyde. It seems like something has to give eventually ;-)
For now I'll happily stick with my small Numpy wrapper, as it comes already pretty close to the using the real thing (using the import of the numjs library, which you showed me/us in an earlier post on this forum, by the way).
Thanks again for your fast reply!
Kind regards,
Zeger.
Op donderdag 16 januari 2025 om 20:44:18 UTC+1 schreef Bruce Sherwood: