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.7.1.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file shaderdef-0.7.1.tar.gz.

File metadata

  • Download URL: shaderdef-0.7.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shaderdef-0.7.1.tar.gz
Algorithm Hash digest
SHA256 3437581dcf339b1b6ce0f9ccd0248a3b41791d0882f271159f07a1299b38f20e
MD5 b4dfdda1d1ae0a662263d09273f4cfda
BLAKE2b-256 7687e02698c86081fac0545bb12b8b79ef5839c9b9e3846dadda1cc12a018c53

See more details on using hashes here.

Supported by

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