Hi. I'm planning on using GlowScript, a program for creating 3D animations where you can write code in Python which is then converted to JavaScript for a webpage. It unfortunately does not allow you to import numpy. I would need several matrix operations for the project: matrix concatenation, matrix multiplication and division, and computing eigenvalues and eigenvectors. I was thinking it should be possible to write code for these operations myself, or even just copy the code from numpy. ( How feasible do you think this would be, and are there any alternatives?
Another option would be to use VPython, which is I think the same as GlowScript but doesn't allow for conversion to JavaScript. Does anyone know whether it's possible to incorporate Python code into a webpage?
Thanks!
Another option would be to use VPython, which is I think the same as GlowScript but doesn't allow for conversion to JavaScript. Does anyone know whether it's possible to incorporate Python code into a webpage?
Thanks!