Skip to main content

A local shader development environment

Project description

Shader Workshop

This tool is a local HTTP/WebSocket server monitoring the specified shader fragment directory. It allows live coding fragment shaders with your preferred code editor, and having them rendered in your browser through WebGL2.

Install

pipx install shader-workshop

pip can also be used.

Usage

shader-workshop /path/to/fragment/shaders

If unspecified, shader-workshop will use the examples directory.

Fragment inputs and outputs

Every fragment gets the following uniforms as input:

  • float time: the time in seconds
  • vec2 resolution: the canvas resolution in pixels

They must write on the vec4 out_color output to produce a color.

The compatibility is currently set to 300 es.

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

shader_workshop-0.2.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shader_workshop-0.2.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file shader_workshop-0.2.0.tar.gz.

File metadata

  • Download URL: shader_workshop-0.2.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shader_workshop-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fcf747b5efe2c716ac21edece127848a11aa98ce9d1cf5af74945046b8ee8cbc
MD5 3586b1bb80f325b9b7e328809635a4fd
BLAKE2b-256 9074ea11735638a9d5d124854150a477b698782d3e0350ea96e8a0878c63fc64

See more details on using hashes here.

Provenance

The following attestation bundles were made for shader_workshop-0.2.0.tar.gz:

Publisher: python-publish.yml on ubitux/ShaderWorkshop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shader_workshop-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for shader_workshop-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c699bcda1a96bba77b6c7dc346dd89cf65679da74d310d0847f68c068a506ba
MD5 01812c64a17f36d6aba678f26511a9ec
BLAKE2b-256 a2bd36bfd389e232d233203ee771c3ac0b4de1724fbeeda4cdd970d02668732a

See more details on using hashes here.

Provenance

The following attestation bundles were made for shader_workshop-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on ubitux/ShaderWorkshop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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