GLSL Transpiler
JSON →Transforms GLSL shader source code into optimized JavaScript. Version 1.8.6 is stable, though the package has seen infrequent updates since 2018. It converts vectors and matrices to arrays, expands swizzles, applies expression optimizations, and provides a stdlib for environment compatibility. Part of the stackgl ecosystem, it is a key tool for running WebGL shaders on the CPU or in headless environments. Differs from alternatives like glsl.js by offering more granular control over uniform/attribute replacement and stream-based processing.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
packageglsl-transpiler2 ↗