Transform Python code into GLSL shaders
Project description
Transform Python code into GLSL shaders.
See demo.py for a quick example of how to use the library.
License
GNU GPLv3+
Implementation
The builtin ast module is used to parse Python functions and transform them into GLSL code.
An alternative implementation that actually evaluated the functions and kept track of the assignment tree was dropped because regular Python control structures can’t be used.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shaderdef-0.5.8.tar.gz
(7.9 kB
view hashes)