https://github.com/pupil-labs/pynanovg
cython powered bindings for nanovg
https://github.com/pupil-labs/pynanovg
Last synced: 11 days ago
JSON representation
cython powered bindings for nanovg
- Host: GitHub
- URL: https://github.com/pupil-labs/pynanovg
- Owner: pupil-labs
- License: mit
- Created: 2014-07-30T06:11:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-29T17:50:47.000Z (over 10 years ago)
- Last Synced: 2025-04-13T05:45:22.141Z (11 days ago)
- Language: Python
- Size: 332 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PyNanoVG
========... work in progress ...
[Cython](https://github.com/cython/cython) powered bindings for [NanoVG](https://github.com/memononen/nanovg)
Dependencies
============+ Cython
Build NanoVG
============```python
python setup.py build_ext -i
```
Builds `nanovg.so` using files from /src and nanovg sourcefiles from nanovg submodule.
This module does not use the nanovg lua toolchain and instead build nanovg from source. See setup.py.So far we only build the nanovg.so file which can be locally imported using python.
Usage
=====- Make sure you have a python binding to GLFW3 installed
- Copy `nanovg.so` file to the /examples folder
- `python demo.py`