prettifies TAP in the browser's console
SkillAI Tool
A utility for quickly prototyping 2D and WebGL sketches
SkillAI Tool
loads a BMFont file in Node and the browser
SkillAI Tool
wraps words based on arbitrary 2D glyphs
SkillAI Tool
layout-bmfont-text
mattdesl
word-wraps and lays out text glyphs
SkillAI Tool
runs Node.js programs through Chromium DevTools
SkillAI Tool
three-bmfont-text
mattdesl
renders BMFont files in ThreeJS with word-wrapping
SkillAI Tool
parse-bmfont-ascii
mattdesl
parses ASCII BMFont files to a JavaScript object
SkillAI Tool
generate a signed distance field from an image
SkillAI Tool
lookup table color transforms for glslify
SkillAI Tool
gets a palette of prominent colors from an array of pixels
SkillAI Tool
baboon test image as base64 data URI
SkillAI Tool
convert SVG text to a Image that can be drawn in canvas
SkillAI Tool
very fast JS GIF encoder
SkillAI Tool
audiobuffer-to-wav
mattdesl
convert an AudioBuffer to .wav format
SkillSpeech & Audio
three-buffer-vertex-data
mattdesl
an easy way to set vertex data on a BufferGeometry
SkillAI Tool
get current touch/mouse position
SkillVector & Embeddings
Some simple utils for handling font sizes
SkillAI Tool
converts BMFont TXT and XML files to JSON
SkillAI Tool
word wraps and lays out Opentype.js glyphs
SkillAI Tool
gets a WebGLRenderingContext
SkillAI Tool
a minimal requestAnimationFrame render loop
SkillAI Tool
nice-color-palettes
mattdesl
nice colour palettes as JSON
SkillAI Tool
watchify-middleware
mattdesl
a server for faster watchify development
SkillAI Tool
parses XML BMFont files into a JavaScript object
SkillAI Tool
parse-bmfont-binary
mattdesl
reads a BMFont binary in a Buffer into a JSON object
SkillAI Tool
2D framebuffer (render-to-texture) utils for kami
SkillAI Tool
canvas-sketch-util
mattdesl
Utilities for sketching in Canvas, WebGL and generative art
SkillAI Tool
get-canvas-context
mattdesl
gets canvas context by name
SkillAI Tool
sets up a retina-scaled canvas with render loop
SkillAI Tool
whether the given object is a WebGL context
SkillAI Tool
mouse-event-offset
mattdesl
get relative position from an event
SkillAI Tool
grabs a new 2d canvas context
SkillAI Tool
local Node/Browser development with Chrome DevTools
SkillAI Tool
next-power-of-two
mattdesl
returns the next highest power of two
SkillAI Tool
polyline-miter-util
mattdesl
low level utils for polyline miter joins
SkillVector & Embeddings
three-vignette-background
mattdesl
a simple ThreeJS vignette background
SkillAI Tool
fast MP4 mux / demux using WASM
SkillAI Tool
browser-media-mime-type
mattdesl
mime type lookup for browser video and audio
SkillSpeech & Audio
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
SkillSpeech & Audio
audio-frequency-to-index
mattdesl
convert a Hz frequency to an index for WebAudio
SkillSpeech & Audio
gl-audio-analyser
mattdesl
Pull audio waveform/frequency data into WebGL for realtime audio visualisation!
SkillSpeech & Audio
a cross-browser WebAudio player
SkillSpeech & Audio
a browserify server for rapid prototyping
SkillAI Tool
tap-console-parser
mattdesl
parses tap by hijacking console.log
SkillAI Tool
grab bag of easing equations
SkillAI Tool
one no-op function to rule them all
SkillAI Tool
glsl-inject-defines
mattdesl
injects a #define statement into a shader source
SkillAI Tool
creates a new array with given range
SkillAI Tool
xml-parse-from-string
mattdesl
DOMParser.parseFromString for XML with IE8 fallback
SkillAI Tool
glsl-token-inject-block
mattdesl
safely inject a block of tokens into a shader
SkillAI Tool
tiny http client for Node and the browser
SkillAI Tool
create a new array filled with a value, or zero
SkillAI Tool
small function to append a query string to a URL
SkillAI Tool
adds line numbers to a source string
SkillAI Tool
parses number and unit, '20px' into [20, 'px']
SkillAI Tool
glsl-blend-soft-light
mattdesl
blend mode 'overlay' for GLSL
SkillAI Tool
inject live reload into HTML content
SkillAI Tool
natural looking film grain using noise functions
SkillAI Tool
three-orbit-controls
mattdesl
orbit controls for ThreeJS
SkillAI Tool
creates the indices for a quad (two triangles)
SkillAI Tool
gets multiple open ports
SkillAI Tool
typeof number, or use a default
SkillAI Tool
flatten-vertex-data
mattdesl
flattens nested vertex data into a typed array
SkillAI Tool
all the WebGL 1.0 constants
SkillAI Tool
bare-bones linear interpolation function
SkillAI Tool
three-orbit-viewer
mattdesl
quick harness for viewing a mesh with orbit viewer
SkillAI Tool
parse and handle import/export for browserify
SkillAI Tool
A bare-bones port of Mario Klingemann's stackblur that just operates on a Uint8 pixel array.
SkillAI Tool
detect-audio-autoplay
mattdesl
detects whether the browser can auto-play audio
SkillSpeech & Audio
fast client-side MP4 H264 video encoding
SkillAI Tool
trims query and hash parameters off a URL
SkillAI Tool
Optimize PDFs with Ghostscript command
SkillDocument Processing
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
SkillAI Tool
Loads a single or multiple assets and returns a promise.
SkillAI Tool
simple-media-element
mattdesl
a bare-bones <audio> and <video> abstraction
SkillSpeech & Audio
analyser-frequency-average
mattdesl
gets an average Hz between two frequency ranges
SkillSpeech & Audio
a blur effect based on random hash offset
SkillAI Tool
Reloads all style sheets in the page associated with a URL
SkillAI Tool
small livereload/watch command line utility
SkillAI Tool
recomposes a 4x4 matrix
SkillAI Tool
decomposes a 3D matrix
SkillAI Tool
interpolates two matrices in place
SkillAI Tool
LittleCMS in JS with WASM
SkillAI Tool
gets a prefixed name for a css style
SkillAI Tool