A React functional component to display a simple WebGL shader.
Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast
Robert Penner's easing functions in GLSL, available as a module for glslify.
WebGL shader function to encode a 32-bit float to the RGBA color channels of a texel
Extract function definitions from an array of GLSL tokens.
WebGL shader function to decode a 32-bit float from the RGBA color channels of a texel
GLSL rotation functions with matrices: 2D and 3D (with X/Y/Z convenience functions).
Smooth minimum functions for GLSL
Functions designed to avoid conditionals ported to glslify
GLSL function for computing lighting direction
GLSL function for computing light attenuation
Map a value from one range to another. Equivalent to Processing's map() function.
Vignette functions for glslify
glslify function for approximating chromatic aberration
Library of combinable shader color manipulation methods to be used with glslify imports
A reusable GLSL point light function
Various easy WebGL helper functions