Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glslbin / ShaderToy CLI #7

Open
mattdesl opened this issue Apr 18, 2015 · 0 comments
Open

glslbin / ShaderToy CLI #7

mattdesl opened this issue Apr 18, 2015 · 0 comments

Comments

@mattdesl
Copy link
Owner

a zero-config setup for testing typical fragment shaders (like SDF shapes) without the bulk of test harness / vertex shader / etc.

The following could start the server and open it in a new browser tab:

glslbin index.glsl

Or a simpler tool would be decoupled from glslbin and just do the following:

  • serve the gl-toy demo on 9966 and inject HTML with live reload
  • chokidar the glsl file and force a re-bundle on reload

The benefit of the latter is that it's more bullet proof for local scripts testing, i.e. it will error out if your module requires something you haven't installed with --save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant