erkaman

npm packages maintained by erkaman

Packages
81
Weekly downloads
9.3M
Repositories
Stars
Followers

Packages

glsl-tokenizer
r/w stream of glsl tokens
936.4K +1%2.1.58 years ago
regl
regl is a fast functional WebGL framework.
896.2K +0%2.1.12 years ago
glslify-bundle
Bundle a glslify-deps dependency tree into a GLSL source string
823.8K +2%5.1.18 years ago
glslify-deps
Walk the dependency graph of a glslify shader.
809.4K +2%1.3.26 years ago
glsl-token-defines
Retrieve the values defined with preprocessor statements in a selection of GLSL tokens
806.1K +2%1.0.011 years ago
glsl-token-string
Converts an array of GLSL tokens to a plain source string
702.9K -16%1.0.112 years ago
glsl-token-scope
Infer the scope of each token in an array of GLSL tokens
677.8K -15%1.1.211 years ago
glslify
A node.js-style module system for GLSL!
670.5K -14%7.1.16 years ago
glsl-token-assignments
Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.
651.8K -18%2.0.210 years ago
glsl-token-properties
Takes an array of GLSL tokens and determines whether or not they're a property of another identifier
651.7K -18%1.0.112 years ago
glsl-token-depth
Determine the scope depth of an array of GLSL tokens
519.7K -35%1.1.211 years ago
glsl-token-whitespace-trim
Trim the whitespace within an array of GLSL tokens
516.3K -35%1.0.011 years ago
glsl-token-descope
"Descope" an array of GLSL tokens such that they can be safely inlined alongside within another shader without causing any global variable conflicts.
475.6K -40%1.0.212 years ago
glslify-loader
glslify loader module for webpack
38.3K -13%2.0.08 years ago
glsl-shader-name
Extract a shader's name from its source
22.5K -21%1.0.011 years ago
glsl-token-functions
Extract function definitions from an array of GLSL tokens.
20.6K -28%1.0.110 years ago
glsl-specular-cook-torrance
Cook-Torrance specular/fresnel lighting term
19.1K +0%2.0.112 years ago
glsl-inverse
Invert a matrix in GLSL
16.2K -15%1.0.012 years ago
glsl-specular-beckmann
Beckmann specular distribution for GLSL
15.5K -19%1.1.212 years ago
glsl-aastep
anti-alias smoothstep utility function
10.9K -22%1.0.111 years ago
glsl-easings
Robert Penner's easing functions in GLSL, available as a module for glslify.
8.5K +3%1.0.012 years ago
glslify-import
A transform stream for glslify that adds an `import` directive to your shaders.
4.1K +28%3.1.09 years ago
resl
A streaming resource loader
3.2K -13%1.0.310 years ago
glsl-colormap
colormaps for glsl shaders
556 +10%1.0.110 years ago
glsl-face-normal
approximate face normal in the fragment shader
407 -11%1.0.211 years ago
glslify-hex
A transform stream for [glslify](http://github.com/chrisdickinson/glslify) that replaces CSS-style hexadecimal colors with `vec3/vec4` definitions.
298 +6%2.1.110 years ago
regl-stats-widget
Small widget for displaying statistics information about regl
146 -31%0.0.110 years ago
glsl-worley
Worley noise implementation for WebGL shaders
124 -21%1.0.210 years ago
glslify-fancy-imports
glslify transform that provides you with a cleaner module import/export syntax ✨
111 -27%1.0.111 years ago
glsl-transpose
Transpose a matrix in GLSL
61 -19%1.0.012 years ago
glsl-look-at
Generate a 3D lookAt matrix in GLSL
50 -67%1.0.011 years ago
glsl-proj4
proj4 coordinate transforms in glsl
31 +288%1.5.15 years ago
glsl-diffuse-lambert
Lambertian diffuse lighting for GLSL
27 +145%1.0.012 years ago
glsl-sdf-normal
Get the normal vector of a position within a signed distance field.
26 +117%1.0.011 years ago
gl-quads-to-tris
Helper module that converts an array of quad indices to an array of triangles indices
25 +67%1.0.010 years ago
rotate-vector-about-axis
A helper module that allows you to rotate a vector about an arbitrary axis.
24 +60%1.0.210 years ago
glsl-turntable-camera
Convenience module for GLSL raytracing that provides a turntable camera for your scene.
24 +71%1.0.011 years ago
glsl-hash-blur
a blur effect based on random hash offset
22 -12%1.0.311 years ago
glsl-pi
π available at your convenience for use within glslify
22 +10%1.0.011 years ago
pnp-gui
A Immediate Mode WebGL GUI that aims to be easy to use and intergrate into any project.
22 +47%0.0.410 years ago
glsl-perturb-normal
perturb normal from a normal map
22 +22%1.0.38 years ago
glsl-raytrace
Given a signed distance function and ray, trace a scene to find the first point of intersection.
22 +22%1.0.011 years ago
glsl-specular-blinn-phong
Blinn-Phong specular effect
21 +50%1.0.29 years ago
gl-catmull-clark
A javascript implementation of the Catmull-Clark subdivision surface algorithm
19 0%1.0.010 years ago
glsl-diffuse-oren-nayar
Oren-Nayar diffuse lighting model
19 -32%1.0.212 years ago
laplacian-deformation
Laplacian mesh deformation
19 +46%3.0.09 years ago
glsl-frobenius
Computes the Frobenius norm of a matrix in glsl
18 +100%1.0.012 years ago
glsl-cos-palette
glsl function for making cosine palettes
18 +29%1.0.010 years ago
glsl-specular-phong
Phong specular distribution in GLSL
17 +21%1.0.012 years ago
glsl-camera-ray
Generates a ray for Shadertoy-style raycasting in GLSL
16 +14%1.0.011 years ago
glsl-specular-gaussian
Gaussian specular model for GLSL
16 +45%1.0.012 years ago
glsl-gradient-palette
Module for creating gradient palettes for usage in glsl.
16 +23%1.0.010 years ago
gl-camera-pos-from-view-matrix
A helper module that allows you to recover the camera position from a view matrix.
14 +40%1.0.110 years ago
glsl-godrays
Shader function for rendering godrays(volumetric light scattering).
13 -19%1.0.210 years ago
qr-solve
This module solves sparse linear systems by using the QR-decomposition
12 +300%0.1.09 years ago
glslify-promise
A Promise wrapper for glslify, providing a consistent interface between both Node.js and browserify
11 -31%1.0.210 years ago
glsl-halftone
a halftone effect in GLSL
11 -8%1.0.411 years ago
glsl-smooth-min
Smooth minimum functions for GLSL
10 +11%1.0.012 years ago
cholesky-solve
This module solves sparse symmetric positive definite linear systems by using the Cholesky decomposition
10 +25%0.2.19 years ago
glsl-proj4-camera
use proj4 strings to map lonlat geometry to screen coordinates in a shader
10 +43%1.0.110 years ago
glsl-token-macros
Extract macro preprocessor statements from an array of GLSL tokens
10 +400%1.0.011 years ago
regl-recorder
Small utility for recording videos in regl.
10 +67%0.2.010 years ago
glsl-scale-log
A logarithmic scale for glslify
9 +350%1.0.011 years ago
gl-movable-camera
A camera that can be easily be moved and turned.
8 +60%1.0.110 years ago
glsl-ggx
glsl ggx lighting model
7 -36%1.0.010 years ago
glsl-scale-linear
A linear scale for glslify
7 +40%1.0.011 years ago
glsl-determinant
Computes the determinant of a matrix in glsl
7 +40%1.0.012 years ago
glsl-specular-ward
Ward anisotropic specular model
7 +133%1.0.012 years ago
glsl-circular-arc
draw anti-aliased circular arcs in a shader with glslify
7 +17%1.0.19 years ago
glsl-combine-chamfer
Combine two signed distance fields with a chamfer-like join.
6 -14%1.0.011 years ago
glsl-combine-smooth
Smoothly combine two signed distance fields.
6 -14%1.0.011 years ago
glsl-token-extension-dedupe
Given a series of GLSL tokens, dedupes any extension declarations and places them at the top of the shader source
6 +20%1.0.011 years ago
glsl-token-function-shaker
Shakes out any unused functions from your GLSL shaders. Especially useful alongside tools such as [glslify](https://github.com/stackgl/glslify).
5 -17%1.0.010 years ago
gl-skydome-sun
Draws a skydome with a sun into a 3D scene.
5 0%2.0.510 years ago
glsl-sdf-sphere
GLSL SDF function for generating a sphere.
5 -17%1.0.011 years ago
glsl-quads-to-tris
Helper module that converts an array of quad indices to an array of triangles indices
4 +100%1.0.010 years ago
glslify-client
Convenience wrapper for handling glslify on the client, minimising the amount of requests to glslify-deps
4 -20%2.0.011 years ago
glsl-sdf-box
GLSL SDF function for generating a sphere.
4 0%1.0.011 years ago
glsl-cartesian-to-barycentric
glslify module to convert cartesian to barycentric coordinates
4 -50%1.0.07 years ago
glsl-ruler
GLSL SDF function for generating a sphere.
3 +50%1.0.111 years ago
glsl-proj4-texture
pre-calculate proj4 coordinate transformations as a texture
2 -71%1.0.19 years ago

Repositories

Repositories and contributions come from Github's GraphQL API, which has no anonymous tier. Sign in to see them.