Skip to main content

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


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.6.3.tar.gz (13.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page