Most PCs made in the past decade are compatible with OpenGL, enabling extremely fast 2D and 3D animation–including from Python. You DON’T have to learn OpenGL at all to make interesting 3-D plots from Numpy arrays. VisPy has a Matplotlib-like interface as well as an advanced interface to OpenGL from Python.
However, the Matplotlib-like interface of Mayavi is more stable and reliable at this time.
- VisPy Prereq
python -m pip install pyqt5 pytest
- Install Vispy
python -m pip install vispy
vispy.test()fails (maybe due to outdated test code), you might very well still find VisPy working.
- VisPy Examples
git clone https://github.com/vispy/vispy cd vispy/examples/demo/gloo python fireworks.py