primitive-torus
creates a 3D torus mesh
creates a 3D torus mesh
"Parses" the log output of gl.getShaderInfoLog
Transpile GLSL to JS
a high-level 3D perspective camera
generic controls for orbiting a target in 3D
glslify as a babel transform
Identifies geometry position format as flat array, array of arrays, typed array, or 1D ndarray.
Transform geometry positions with a 4x4 transformation matrix.
Converts between common geometry position formats.
Centers vertices around a point.
optimized 9-tap gaussian blur for GLSL
Renders sky colors with Rayleigh and Mie scattering.
Completely reset the state of a WebGL context, deleting any allocated resources
like vao, but only for simple vertex arrays
streaming gl.readPixels from an FBO
creates a white 2x2 WebGL texture
A javascript implementation of the Catmull-Clark subdivision surface algorithm
Convert values to and from decibels
Helper module that converts an array of quad indices to an array of triangles indices
regl is a fast functional WebGL framework.