JSPM

Found 64 results for ecosystem:stackgl

glsl-token-properties

Takes an array of GLSL tokens and determines whether or not they're a property of another identifier

  • v1.0.1
  • 90.27
  • Published

glsl-token-string

Converts an array of GLSL tokens to a plain source string

  • v1.0.1
  • 88.29
  • Published

glsl-token-defines

Retrieve the values defined with preprocessor statements in a selection of GLSL tokens

  • v1.0.0
  • 87.65
  • Published

glslify

A node.js-style module system for GLSL!

  • v7.1.1
  • 86.96
  • Published

glsl-token-assignments

Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.

  • v2.0.2
  • 86.90
  • Published

glslify-bundle

Bundle a glslify-deps dependency tree into a GLSL source string

  • v5.1.1
  • 81.14
  • Published

glsl-inject-defines

injects a #define statement into a shader source

  • v1.0.3
  • 81.01
  • Published

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.

  • v1.0.2
  • 80.92
  • Published

glsl-token-scope

Infer the scope of each token in an array of GLSL tokens

  • v1.1.2
  • 80.92
  • Published

glsl-token-depth

Determine the scope depth of an array of GLSL tokens

  • v1.1.2
  • 80.92
  • Published

quad-indices

creates the indices for a quad (two triangles)

  • v2.0.1
  • 76.42
  • Published

glsl-shader-name

Extract a shader's name from its source

  • v1.0.0
  • 72.09
  • Published

glslify-loader

glslify loader module for webpack

  • v2.0.0
  • 71.62
  • Published

glsl-token-functions

Extract function definitions from an array of GLSL tokens.

  • v1.0.1
  • 67.69
  • Published

gl-vec4

gl-matrix's vec4, split into smaller pieces

  • v1.0.1
  • 67.32
  • Published

gl-quat

gl-matrix's quaternion, split into smaller pieces

  • v1.0.0
  • 67.16
  • Published

glsl-film-grain

natural looking film grain using noise functions

  • v1.0.4
  • 64.03
  • Published

ray-aabb-intersection

Determine the point of intersection between a ray and axis-aligned bounding box (AABB)

  • v1.0.1
  • 48.49
  • Published

glsl-face-normal

approximate face normal in the fragment shader

  • v1.0.2
  • 39.94
  • Published

glsl-hsl2rgb

HSL to RGB color conversion in GLSL

  • v1.1.0
  • 35.91
  • Published

glslify-fancy-imports

glslify transform that provides you with a cleaner module import/export syntax ✨

  • v1.0.1
  • 33.25
  • Published

glsl-look-at

Generate a 3D lookAt matrix in GLSL

  • v1.0.0
  • 32.61
  • Published

glsl-scale-log

A logarithmic scale for glslify

  • v1.0.0
  • 25.92
  • Published

gl-shader-output

test a shader's gl_FragColor output on a 1x1 canvas

  • v2.0.1
  • 25.28
  • Published

snowden

3D mesh of Snowden's Bust

  • v1.0.1
  • 22.76
  • Published

glslify-promise

A Promise wrapper for glslify, providing a consistent interface between both Node.js and browserify

  • v1.0.2
  • 21.15
  • Published

gl-audio-analyser

Pull audio waveform/frequency data into WebGL for realtime audio visualisation!

  • v1.0.3
  • 21.09
  • Published

glsl-smooth-min

Smooth minimum functions for GLSL

  • v1.0.0
  • 19.80
  • Published

glsl-pi

Ï€ available at your convenience for use within glslify

  • v1.0.0
  • 18.98
  • Published

glsl-combine-chamfer

Combine two signed distance fields with a chamfer-like join.

  • v1.0.0
  • 18.44
  • Published

primitive-cylinder

A minimal 3D cylindrical geometry, including normals, UVs, and mesh.

  • v1.0.3
  • 16.73
  • Published

vec4.c

gl-matrix's vec4, in c, split into smaller pieces

  • v1.0.0
  • 14.21
  • Published

gl-toy

Create quick WebGL demo's using glslify

  • v2.0.3
  • 13.83
  • Published

mesh-simplify

Surface Simplification via Quadric Error Metrics

  • v2.0.0
  • 13.59
  • Published

glsl-gamma

gamma-to-linear convenience utilities

  • v2.0.0
  • 13.11
  • Published

glsl-turntable-camera

Convenience module for GLSL raytracing that provides a turntable camera for your scene.

  • v1.0.0
  • 12.55
  • Published

glsl-camera-ray

Generates a ray for Shadertoy-style raycasting in GLSL

  • v1.0.0
  • 11.87
  • Published

glsl-sdf-normal

Get the normal vector of a position within a signed distance field.

  • v1.0.0
  • 11.42
  • Published

gl-blend-demo

an example scene which blends foreground and background images

  • v2.0.0
  • 11.42
  • Published

gl-particles

Convenience module for FBO-driven particle simulations

  • v1.1.0
  • 10.78
  • Published

glsl-raytrace

Given a signed distance function and ray, trace a scene to find the first point of intersection.

  • v1.0.0
  • 9.67
  • Published

camera-spin

Mouse/touch-draggable first-person camera

  • v3.0.1
  • 9.47
  • Published

glsl-token-macros

Extract macro preprocessor statements from an array of GLSL tokens

  • v1.0.0
  • 8.18
  • Published

glsl-sdf-box

GLSL SDF function for generating a sphere.

  • v1.0.0
  • 8.08
  • Published

parse-pc2

Parse .PC2 vertex animation files

  • v1.0.1
  • 7.36
  • Published

glsl-ruler

GLSL SDF function for generating a sphere.

  • v1.0.1
  • 7.28
  • Published

glslify-client

Convenience wrapper for handling glslify on the client, minimising the amount of requests to glslify-deps

  • v2.0.0
  • 6.80
  • Published

quat.c

gl-matrix's quaternion, in c, split into smaller pieces

  • v1.0.0
  • 6.14
  • Published

@andrewray/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.

  • v1.0.3
  • 5.98
  • Published

glslify-detective

Find all require calls within a glslify file

  • v1.0.0
  • 5.96
  • Published

gl-flags

Easily change and access your WebGL flags set by gl.enable/gl.disable with minimised overhead

  • v1.1.0
  • 4.53
  • Published

lookat-camera

Simple "lookat" camera abstraction built on top of gl-matrix

  • v1.0.0
  • 4.51
  • Published

glsl-sdf-sphere

GLSL SDF function for generating a sphere.

  • v1.0.0
  • 2.65
  • Published

glsl-token-extension-dedupe

Given a series of GLSL tokens, dedupes any extension declarations and places them at the top of the shader source

  • v1.0.0
  • 2.64
  • Published