Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glumpy/glumpy
Python+Numpy+OpenGL: fast, scalable and beautiful scientific visualization
https://github.com/glumpy/glumpy
engine game numpy opengl python rendering science visualization
Last synced: 25 days ago
JSON representation
Python+Numpy+OpenGL: fast, scalable and beautiful scientific visualization
- Host: GitHub
- URL: https://github.com/glumpy/glumpy
- Owner: glumpy
- License: bsd-3-clause
- Created: 2014-08-31T18:30:26.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-04T10:22:47.000Z (11 months ago)
- Last Synced: 2024-09-30T17:40:54.332Z (about 1 month ago)
- Topics: engine, game, numpy, opengl, python, rendering, science, visualization
- Language: Python
- Homepage: http://glumpy.github.io
- Size: 11.8 MB
- Stars: 1,236
- Watchers: 38
- Forks: 178
- Open Issues: 98
-
Metadata Files:
- Readme: README-osx-M1.rst
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
Installing on M1 Macs
=====================Installing via ``pip`` on an Apple Silicon/M1 Mac may fail due to an incompatibility with the pre-generated Cython code for the ``triangle`` dependency. As a workaround, this package and glumpy can be downloaded from GitHub and installed manually, like this:
::
# dependencies
pip install numpy Cython PyOpenGL
# manually install triangle
git clone --recurse-submodules https://github.com/drufat/triangle
cd triangle
python setup.py install
# manually install glumpy
cd ..
git clone https://github.com/glumpy/glumpy
cd glumpy
python setup.py installAt this point glumpy should be installed, but if you try to run one of the examples (e.g. ``python examples/hello-world.py``) you may receive ``RuntimeError: Freetype library not found``. This occurs if you have installed freetype via Homebrew, which does not add the library directory to the system path. To fix this add the path manually:
::
# either
export DYLD_LIBRARY_PATH=$(brew --prefix freetype)/lib:$DYLD_LIBRARY_PATH
# or
export DYLD_LIBRARY_PATH=$(freetype-config --prefix)/lib:$DYLD_LIBRARY_PATH
python examples/hello-world.py # works now!