
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
shader-workshop
Advanced tools
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.

#include directivepipx install shader-workshop
pip can also be used.
sw-server /path/to/fragment/shaders
If unspecified, sw-server will use the examples directory.
All the .frag files in that directory will be tracked and accessible through
the web interface.
Every fragment gets the following uniforms as input:
float time: the time in secondsvec2 resolution: the canvas resolution in pixelsvec2 mouse: the mouse last press down position in pixelsThey must write on the vec4 out_color output to produce a color.
The compatibility is currently set to 300 es.
P: gl_FragCoord.xyO: out_colorT: timeR: resolutionM: mouseTo expose controls to the web UI, declare a uniform in your fragment shader. Optionally, in the comment beside, you can specify the default value and ranges. For example:
uniform float angle; // def:0.7 min:0.6 max:0.9
uniform int steps; // def:7 min:0 max:10
uniform bool debug; // def:1
uniform vec3 color; // def:1,0.5,0
Currently, float, int, bool and vec3 (for colors only) are supported.
It is possible to include .glsl files using an #include directive:
#include name (no quote nor explicit .glsl). Recursive includes (.glsl
including .glsl) are supported, as well as including multiple times the same
file (through recursion or not). Their changes are also monitored by the file
watcher.
FAQs
A local shader development environment
We found that shader-workshop demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.