mattdesl

npm packages maintained by mattdesl

Packages
250
Weekly downloads
104M
Repositories
Stars
Followers

Packages

stream-browserify
the stream module from node core for browsers
17.8M -15%3.0.06 years ago
console-browserify
Emulate console for all the browsers
8.7M -17%1.2.07 years ago
timers-browserify
timers module for browserify
8.6M -18%2.0.126 years ago
vm-browserify
vm module for the browser
8.4M -18%1.1.27 years ago
tty-browserify
the tty module from node core for browsers
6.8M -35%0.0.19 years ago
browser-resolve
resolve which handles browser field support in package.json
4.4M -15%2.0.06 years ago
static-eval
evaluate statically-analyzable expressions
4.3M -20%2.1.13 years ago
parse-bmfont-xml
parses XML BMFont files into a JavaScript object
2.6M -18%1.1.63 years ago
parse-bmfont-binary
reads a BMFont binary in a Buffer into a JSON object
2.6M -18%1.0.611 years ago
detective
find all require() calls by walking the AST
2.5M -18%5.2.14 years ago
acorn-node
the acorn javascript parser, preloaded with plugins for syntax parity with recent node versions
2.4M -17%2.0.16 years ago
parse-bmfont-ascii
parses ASCII BMFont files to a JavaScript object
2.2M -34%1.0.611 years ago
xml-parse-from-string
DOMParser.parseFromString for XML with IE8 fallback
2.1M -34%1.0.19 years ago
require-package-name
gets the package name for a require statement
1.9M -35%2.0.111 years ago
load-bmfont
loads a BMFont file in Node and the browser
1.4M -14%1.4.22 years ago
browserify
browser-side require() the node way
1.3M -19%17.0.12 years ago
syntax-error
detect and report syntax errors in source code strings
1M -19%1.4.09 years ago
module-deps
walk the dependency graph to generate json output that can be fed into browser-pack
995.1K -19%6.2.36 years ago
browser-pack
pack node-style source files from a json stream into a browser bundle
970.5K -18%6.1.08 years ago
stream-splicer
streaming pipeline with a mutable configuration
965.7K -18%2.0.17 years ago
insert-module-globals
insert implicit module globals into a module-deps stream
957K -19%7.2.16 years ago
deps-sort
sort module-deps output for deterministic browserify bundles
952.5K -19%2.0.17 years ago
labeled-stream-splicer
stream splicer with labels
937.2K -19%2.0.27 years ago
qoa-format
A JavaScript port of [The "Quite OK Audio" (QOA) format](https://github.com/phoboslab/qoa), a lossy audio compression that achieves relatively decent compression with fast decoding and not much complexity. Also see [this](https://phoboslab.org/log/2023/02
806.2K +4%1.0.13 years ago
static-module
convert module usage to inline expressions
769.1K -13%3.0.46 years ago
glsl-tokenizer
r/w stream of glsl tokens
755.9K -18%2.1.58 years ago
dtype
Return a data type from a string representing the type
677.2K -18%2.0.011 years ago
brfs
browserify fs.readFileSync() static asset inliner
676.6K -15%2.0.28 years ago
glslify-bundle
Bundle a glslify-deps dependency tree into a GLSL source string
663.6K -18%5.1.18 years ago
glsl-token-inject-block
safely inject a block of tokens into a shader
660.2K -19%1.1.011 years ago
glsl-inject-defines
injects a #define statement into a shader source
660.2K -18%1.0.311 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
glslify-deps
Walk the dependency graph of a glslify shader.
651.4K -18%1.3.26 years ago
glsl-token-defines
Retrieve the values defined with preprocessor statements in a selection of GLSL tokens
648.6K -18%1.0.011 years ago
parse-unit
parses number and unit, '20px' into [20, 'px']
646K -18%1.0.112 years ago
array-range
creates a new array with given range
635.9K -15%1.0.112 years ago
mouse-event-offset
get relative position from an event
581.9K -18%3.0.211 years ago
glsl-token-string
Converts an array of GLSL tokens to a plain source string
539K -36%1.0.112 years ago
glsl-token-scope
Infer the scope of each token in an array of GLSL tokens
519.7K -35%1.1.211 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
glslify
A node.js-style module system for GLSL!
513.9K -34%7.1.16 years ago
gl-mat4
gl-matrix's mat4, split into smaller pieces
494.3K -34%1.2.08 years ago
flatten-vertex-data
flattens nested vertex data into a typed array
486.8K -34%1.0.28 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
webgl-context
gets a WebGLRenderingContext
472K -34%2.2.011 years ago
get-canvas-context
gets canvas context by name
464.3K -35%1.0.210 years ago
watchify
watch mode for browserify builds
423.1K -16%4.0.06 years ago
dom-css
fast dom CSS styling
357.9K -12%2.1.010 years ago
prefix-style
gets a prefixed name for a css style
357.6K -12%2.0.111 years ago
xhr-request
tiny http client for Node and the browser
301.9K -20%1.1.09 years ago
gifenc
very fast JS GIF encoder
286.8K -33%1.0.35 years ago
url-set-query
small function to append a query string to a URL
236.9K -38%1.0.011 years ago
http-browserify
http module compatability for browserify
131.3K -15%1.7.012 years ago
adaptive-quadratic-curve
adaptive and scalable 2D quadratic curves
119.1K -20%1.0.212 years ago
gl-vec2
gl-matrix's vec2, split into smaller pieces
112.4K -19%1.3.08 years ago
adaptive-bezier-curve
adaptive and scalable 2D bezier curves
94.4K -42%1.0.312 years ago
stackblur
A bare-bones port of Mario Klingemann's stackblur that just operates on a Uint8 pixel array.
76.4K -30%1.0.012 years ago
gl-vec3
gl-matrix's vec3, split into smaller pieces
74.5K -19%1.2.0last year
word-wrapper
wraps words based on arbitrary 2D glyphs
60.2K -19%1.0.712 years ago
lerp
bare-bones linear interpolation function
58.8K -28%1.0.312 years ago
as-number
typeof number, or use a default
57.7K -31%1.0.012 years ago
gl
Creates a WebGL context without a window
50.6K -30%8.1.62 years ago
next-power-of-two
returns the next highest power of two
44.9K -12%1.0.011 years ago
polyline-miter-util
low level utils for polyline miter joins
44.7K -37%1.0.112 years ago
new-array
create a new array filled with a value, or zero
43.6K -30%1.0.011 years ago
browser-unpack
parse a bundle generated by browser-pack
43.2K -3%1.4.32 years ago
bundle-collapser
convert bundle paths to IDS to save bytes in browserify bundles
41.6K -3%1.4.06 years ago
quad-indices
creates the indices for a quad (two triangles)
39.4K -44%2.0.111 years ago
polyline-normals
gets miter normals for a 2D polyline
35.7K -42%2.0.212 years ago
get-rgba-palette
gets a palette of prominent colors from an array of pixels
34.9K -24%2.0.110 years ago
layout-bmfont-text
word-wraps and lays out text glyphs
33.5K -10%1.3.49 years ago
glslify-loader
glslify loader module for webpack
32K -28%2.0.08 years ago
eases
grab bag of easing equations
31K -10%1.0.811 years ago
audiobuffer-to-wav
convert an AudioBuffer to .wav format
30.3K -39%1.0.011 years ago
nice-color-palettes
nice colour palettes as JSON
28.3K -32%4.0.02 years ago
gl-shader
WebGL shader wrapper
25.8K -18%4.3.15 years ago
gl-mat2
gl-matrix's mat2, split into smaller pieces
24.9K -35%1.0.19 years ago
common-shakeify
browserify tree shaking plugin using @indutny common-shake
24K +13%1.1.24 years ago
add-line-numbers
adds line numbers to a source string
22.6K -21%1.0.111 years ago
glsl-shader-name
Extract a shader's name from its source
22.5K -21%1.0.011 years ago
extrude-polyline
triangulates a 2D polyline into a stroke
22.5K -17%1.0.612 years ago
gl-mat3
gl-matrix's mat3, split into smaller pieces
21.9K -10%2.0.08 years ago
budo
a browserify server for rapid prototyping
21.8K -16%11.8.44 years ago
inject-lr-script
inject live reload into HTML content
21.1K -16%2.2.07 years ago
gl-texture2d
WebGL texture wrapper
21K -23%2.1.010 years ago
get-ports
gets multiple open ports
20.9K -15%1.0.310 years ago
simple-html-index
a simple HTML index through stream
20.9K -15%1.5.010 years ago
watchify-middleware
a server for faster watchify development
20.8K -17%1.9.14 years ago
gl-constants
all the WebGL 1.0 constants
18.5K -36%1.0.011 years ago
gl-vec4
gl-matrix's vec4, split into smaller pieces
18K -27%1.0.111 years ago
gl-buffer
WebGL buffer wrapper
17.4K -22%2.1.211 years ago
garnish
prettifies ndjson from wzrd and similar tools
17.3K -30%5.2.010 years ago
gl-vao
Vertex array object wrapper/shim for WebGL
16.9K -19%1.3.010 years ago
glsl-token-functions
Extract function definitions from an array of GLSL tokens.
16.3K -43%1.0.110 years ago
gl-quat
gl-matrix's quaternion, split into smaller pieces
16.2K -30%1.0.011 years ago
@browserify/uglifyify
A browserify transform which minifies your code using Terser
16K +27%6.0.04 years ago
simplify-path
simplify 2D polyline
16K -28%1.1.011 years ago
gl-state
Saves WebGL context state
15.7K -19%1.0.012 years ago
three-orbit-controls
orbit controls for ThreeJS
15.6K -17%82.1.010 years ago
gl-fbo
Frame buffer object wrapper for WebGL
15.6K -19%2.0.511 years ago
mat4-decompose
decomposes a 3D matrix
15.5K -19%1.0.412 years ago
mat4-recompose
recomposes a 4x4 matrix
15.5K -19%1.0.412 years ago
mat4-interpolate
interpolates two matrices in place
15.5K -19%1.0.411 years ago
glsl-specular-beckmann
Beckmann specular distribution for GLSL
15.5K -19%1.1.212 years ago
glsl-specular-cook-torrance
Cook-Torrance specular/fresnel lighting term
15.5K -19%2.0.112 years ago
@browserify/envify
Selectively replace Node-style environment variables with plain strings.
14.9K +31%6.0.04 years ago
url-trim
trims query and hash parameters off a URL
14.5K -40%1.0.011 years ago
quat-slerp
standalone spherical linear interpolation
12.6K -34%1.0.111 years ago
svg-path-contours
gets 2D contours from an SVG path
12.6K +41%2.0.011 years ago
glsl-inverse
Invert a matrix in GLSL
12.6K -34%1.0.012 years ago
reload-css
Reloads all style sheets in the page associated with a URL
12.3K -37%1.0.210 years ago
vec2-copy
copies a 2-dimensional vector (array)
11.9K +11%1.0.012 years ago
glsl-film-grain
natural looking film grain using noise functions
11.8K -11%1.0.410 years ago
glsl-blend-soft-light
blend mode 'overlay' for GLSL
11.8K -11%1.0.512 years ago
canvas-app
sets up a retina-scaled canvas with render loop
11.8K -12%2.4.111 years ago
three-vignette-background
a simple ThreeJS vignette background
11.8K -11%1.0.310 years ago
three-orbit-viewer
quick harness for viewing a mesh with orbit viewer
11.8K -12%69.3.110 years ago
sun-tzu-quotes
a few Sun Tzu quotes from The Art of War
11.7K -11%1.0.011 years ago
glsl-aastep
anti-alias smoothstep utility function
10.9K -22%1.0.111 years ago
is-webgl-context
whether the given object is a WebGL context
9.6K -28%1.1.011 years ago
tinyify
a browserify plugin that runs various optimizations, so you don't have to install them all manually.
9.4K -21%4.0.04 years ago
mp4-wasm
fast MP4 mux / demux using WASM
8.6K -9%1.0.65 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
camera-unproject
unproject 2D point to 3D coordinate
7.5K +75%1.0.111 years ago
ify-loader
Webpack loader to handle browserify transforms as intended
7.1K -37%1.1.09 years ago
babel-plugin-static-fs
statically transforms Node fs for the browser
6.7K +8%3.0.07 years ago
normalize-path-scale
normalizes a 2D path to its bounding box
6.1K +52%2.0.011 years ago
svg-mesh-3d
converts a SVG path to a 3D mesh
6.1K +53%1.1.010 years ago
babel-plugin-import-to-require
Translate import statements to require statements
5.5K -21%1.0.09 years ago
factor-bundle
factor browser-pack bundles into common shared bundles
5.4K -20%2.5.011 years ago
esmify
parse and handle import/export for browserify
5.3K -20%2.1.18 years ago
unlerp
opposite of lerp; get normalized range between two bounds
5.2K +18%1.0.112 years ago
glsl-parser
transform streamed glsl tokens into an ast
5.2K -15%2.0.18 years ago
three-bmfont-text
renders BMFont files in ThreeJS with word-wrapping
5.1K -7%3.0.16 years ago
triangulate-contours
triangulates a series of 2D contours
4.6K +137%1.0.211 years ago
lcms-wasm
LittleCMS in JS with WASM
4.6K +14%1.0.52 years ago
touch-position
get current touch/mouse position
3.6K -41%2.0.010 years ago
glsl-lut
lookup table color transforms for glslify
3.5K -23%1.1.32 years ago
three-buffer-vertex-data
an easy way to set vertex data on a BufferGeometry
3.4K +0%1.1.010 years ago
spawn-npm-install
programmatically install npm dependencies
3.4K -14%1.3.02 years ago
dprop
tiny util for making enumerable properties
3.3K -49%1.0.011 years ago
glslify-import
A transform stream for glslify that adds an `import` directive to your shaders.
3.3K +3%3.1.09 years ago
glsl-deparser
through stream that translates glsl-parser AST nodes into working glsl code
3.2K +2%1.0.012 years ago
errorify
Browserify plugin to write failed build error messages to the output file
3.2K -9%0.3.111 years ago
no-op
one no-op function to rule them all
3.1K -47%1.0.312 years ago
raf-loop
a minimal requestAnimationFrame render loop
2.8K -25%1.1.311 years ago
parse-dds
parses the headers of a DDS texture file
2.3K -6%1.2.111 years ago
extract-svg-path
extracts a string of subpaths from an svg file
2.2K +6%2.1.011 years ago
console-redirect
redirect console methods to streams
2K -29%1.0.011 years ago
glsl-extract
extract uniforms and attributes from glsl programs
1.9K -26%1.0.012 years ago
color-luminance
bare-bones color luminance functions
1.8K -50%2.1.012 years ago
touch-pinch
minimal two-finger pinch gesture detection
1.7K -42%1.0.110 years ago
glsl-min-stream
through stream that transforms glsl-parser AST nodes and rewrites variables into shorter forms
1.7K +8%1.0.012 years ago
array-almost-equal
whether two number arrays are almost equal
1.7K -45%1.0.012 years ago
chaikin-smooth
chaikin's smoothing algorithm for 2D lines
1.6K -11%1.0.412 years ago
get-plane-normal
gets a plane's normal from 3 points
1.6K -25%1.0.011 years ago
primitive-quad
an indexed quad mesh with normals and UVs
1.6K -58%2.0.09 years ago
read-closest-package
reads the closest package.json file
1.6K -31%1.2.011 years ago
convert-length
Converts a distance unit (e.g. m) to another (e.g. cm)
1.4K -52%1.0.18 years ago
is-clockwise
test if 2D convex polygon is clockwise
1.3K -9%2.0.212 years ago
gl-shader-core
Core implementation of gl-shader without parser dependencies
1.3K -11%2.2.012 years ago
primitive-sphere
a sphere mesh with normals, texture coordinates and indices
1.2K -45%3.0.09 years ago
glslify-stream
create a readable stream of glsl ast nodes that produce a module system
1.2K +9%1.1.112 years ago
canvas-sketch-util
Utilities for sketching in Canvas, WebGL and generative art
1.2K -51%1.10.07 years ago
glsl-fxaa
FXAA implementation for glslify in WebGL
1.2K -65%3.0.011 years ago
float-rgb2hsl
converts [R,G,B] to [H,S,L]
1.2K -52%1.0.111 years ago
glsl-transpiler
Transpile GLSL to JS
1.1K -10%3.0.32 years ago
ray-aabb-intersection
Determine the point of intersection between a ray and axis-aligned bounding box (AABB)
1.1K +2%1.0.111 years ago
gl-shader-errors
"Parses" the log output of gl.getShaderInfoLog
1.1K +115%1.0.312 years ago
@browserify/acorn5-object-spread
Support for rest and spread properties in acorn 5
1.1K -23%5.0.19 years ago
webglew
WebGL extension wrangler
1K -8%1.0.512 years ago
point-circle-collision
test for collision with a circle and point
973 -29%1.0.312 years ago
glsl-fast-gaussian-blur
optimized 9-tap gaussian blur for GLSL
910 -2%1.0.211 years ago
camera-picking-ray
creates a picking ray for a 2D/3D camera
896 -14%1.0.111 years ago
float-hsl2rgb
converts [H,S,L] to [R,G,B]
893 -64%1.0.211 years ago
ray-sphere-intersection
test whether a ray intersects with a sphere
887 -17%1.0.011 years ago
touches
simplified touch/mouse events for flick and swipe
819 +23%1.2.210 years ago
brfs-babel
like brfs, but built on top of babel for es2015
790 -29%2.0.07 years ago
line-circle-collision
line-circle collision test
771 +27%1.1.312 years ago
image-sdf
generate a signed distance field from an image
766 +22%1.0.412 years ago
audio-frequency-to-index
convert a Hz frequency to an index for WebAudio
752 -21%2.0.011 years ago
canvas-sketch
A utility for quickly prototyping 2D and WebGL sketches
650 +14%0.7.83 months ago
opentype-layout
word wraps and lays out Opentype.js glyphs
631 -47%1.1.010 years ago
notify-error
send an error notifications
626 -35%1.2.011 years ago
analyser-frequency-average
gets an average Hz between two frequency ranges
607 -35%1.0.011 years ago
lerp-array
lerps two numbers or an array of numbers
517 -39%1.1.112 years ago
interpolation
Linear and Hermite interpolation functions.
456 -17%1.0.012 years ago
relative-require-regex
test whether a require string is relative
422 +5%1.0.111 years ago
canvas-sketch-cli
A CLI used alongside canvas-sketch
419 +277%1.15.02 years ago
bw-router
associate objects with routes. Used by bigwheel to route sections
410 +51%2.0.610 years ago
install-if-needed
installs the given modules if needed
396 +317%1.0.42 years ago
baboon-image-uri
baboon test image as base64 data URI
380 -73%1.0.112 years ago
glsl-face-normal
approximate face normal in the fragment shader
371 -19%1.0.211 years ago
glsl-colormap
colormaps for glsl shaders
370 -27%1.0.110 years ago
load-img
loads a Image for the browser
353 -9%1.0.010 years ago
glsl-random
pseudo-random 2D noise for glslify
346 -54%0.0.512 years ago
kelvin-to-rgb
approximate an RGB color from a Kelvin temperature
342 -47%1.0.211 years ago
svg-to-image
convert SVG text to a Image that can be drawn in canvas
333 -11%1.1.310 years ago
vmd
Preview markdown files
321 +103%1.34.08 years ago
primitive-torus
creates a 3D torus mesh
312 -78%1.0.411 years ago
keyframes
keyframe utils for a generic timeline
309 -28%2.3.010 years ago
point-util
a few point and polygon utils
301 -38%0.0.012 years ago
keytime
keyframed animation tools
283 -21%0.1.110 years ago
tap-dev-tool
prettifies TAP in the browser's console
283 +14%1.3.011 years ago
three-line-2d
lines expanded in a vertex shader
277 -44%1.1.610 years ago
orbit-controls
generic controls for orbiting a target in 3D
274 -43%1.2.49 years ago
urify
static analysis for datauri expressions
249 -47%2.1.18 years ago
browser-media-mime-type
mime type lookup for browser video and audio
247 -52%1.0.011 years ago
glslify-hex
A transform stream for [glslify](http://github.com/chrisdickinson/glslify) that replaces CSS-style hexadecimal colors with `vec3/vec4` definitions.
247 -12%2.1.110 years ago
hihat
local Node/Browser development with Chrome DevTools
245 +60%2.6.411 years ago
devtool
runs Node.js programs through Chromium DevTools
226 +42%2.3.110 years ago
tap-console-parser
parses tap by hijacking console.log
221 -11%1.0.411 years ago
point-in-triangle
test whether a point is inside a triangle
216 -29%1.0.112 years ago
quat-from-unit-vec3
creates a quaternion from two unit vectors
203 -56%1.0.011 years ago
ray-3d
a high-level ray picking helper for 3D intersection
171 -65%1.1.111 years ago
camera-project
project 3D point into 2D window space
168 -63%1.0.211 years ago
ray-plane-intersection
whether a picking ray intersects with a plane
164 -67%1.0.011 years ago
perspective-camera
a high-level 3D perspective camera
163 -62%2.0.111 years ago
gl-conformance
Khronos WebGL conformance test suite
151 -89%2.0.910 years ago
glsl-checker
repeating checker GLSL pattern
140 -16%1.0.111 years ago
strip-chromium-logs
strips chromium logs from a stream
139 +17%1.0.211 years ago
dictionary-of-colour-combinations
palettes from A Dictionary of Colour Combinations
136 -20%1.0.26 years ago
detect-import-require
list require and import paths from a JavaScript source
130 -38%2.0.010 years ago
glsl-hsl2rgb
HSL to RGB color conversion in GLSL
129 -50%1.1.011 years ago
tweenr
minimal tweening engine
122 -13%2.2.110 years ago
normalize-file-to-url-path
normalizes a file to a URL pathname
120 +28%1.0.011 years ago
mixes
a tiny util to mix functions and properties into a prototype
116 -19%1.0.412 years ago
snowden
3D mesh of Snowden's Bust
112 +72%1.0.111 years ago
tween-ticker
a generic tween ticker engine
111 -17%3.3.211 years ago
glslify-fancy-imports
glslify transform that provides you with a cleaner module import/export syntax ✨
110 -28%1.0.111 years ago
canvas-loop
canvas loop/scale utility
105 -68%1.0.711 years ago
tween-objects
tween object and arrays of objects
94 -28%1.0.211 years ago
bmfont2json
converts BMFont TXT and XML files to JSON
87 -29%0.1.911 years ago
web-audio-player
a cross-browser WebAudio player
86 +6%1.3.38 years ago
gl-now
Create a WebGL context now!
85 0%1.4.012 years ago
360-image-viewer
A standalone panorama WebGL image viewer for desktop and mobile. This uses [regl](https://www.npmjs.com/package/regl) as the WebGL wrapper, and comes in at a total of 140kb uglified, or 46kb gzipped. This is useful if you need a panorama viewer but don't
81 -11%1.0.19 years ago
tween-base
a basic tween object for others to build on
75 -47%2.2.212 years ago
gl-pixel-stream
streaming gl.readPixels from an FBO
75 -18%1.2.09 years ago
own-enumerable-keys
gets own enumerable property names and symbols
68 -55%1.0.011 years ago
load-asset
Loads a single or multiple assets and returns a promise.
58 -66%1.2.08 years ago
negate
negates a function
47 -22%1.0.012 years ago
gl-quad
a simple quad utility for stackgl
33 -89%1.1.311 years ago
module-exports
Get the exports of a module
31 -92%2.2.12 years ago
glsl-look-at
Generate a 3D lookAt matrix in GLSL
31 -79%1.0.011 years ago
is-power-of-two
whether a number is power of two
30 -42%1.0.011 years ago
gl-audio-analyser
Pull audio waveform/frequency data into WebGL for realtime audio visualisation!
27 -91%1.0.311 years ago
riso-colors
A list of Risograph printer colors
27 -68%1.0.18 years ago
builds
A dead-simple tool for developing and bundling static sites
21 -92%0.0.28 years ago

Repositories

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