stackgl is an open software ecosystem for WebGL, built on top of browserify and npm. Inspired by the Unix philosophy, stackgl modules "do one thing, and do it well". It is easy to use parts of stackgl à la carte, and because it is written from the bottom up, you can always drill down a layer. Unlike many 3D engines, stackgl emphasizes writing shader code, and provides powerful tools like glslify which bring the modularity and productivity of npm to GLSL!

examples & demos


Before getting started with stackgl, you'll want to get familiar with the basics of WebGL and GLSL. One place to start would be by trying out one of our graphics-themed NodeSchool workshops. Shader School and WebGL Workshop are interactive and may be taken in any order.

Some other good learning resources include Learning WebGL, WebGL Academy, Shadertoy, and GLSL Sandbox. If you're particularly interested in shaders, you might want to check out The Book of Shaders, An Introduction to Shaders or Primer: Shaders.

Some more advanced resources include WebGL Insights and How to Create Content with Signed Distance Functions.


Not sure where to start? Here's some links that should help you learn more and/or get involved yourself. Feel free to get in touch if you have any questions!

If you're interested in writing some packages of your own but short on ideas, we have a wishlist of sorts in stackgl/contributing's issue queue.

stackgl is only possible thanks to the excellent work of dozens of contributors: thank you!