Record a video in the browser or directly on the File System from a canvas region (2D/WebGL/WebGPU) as MP4, WebM, MKV, MOV, GIF, PNG/JPG Sequence using WebCodecs and Wasm when available.
An ES20XX starter with common frontend tasks using Webpack 5 as module bundler and npm scripts as task runner.
A collection of tone mapping functions available both as ES modules strings and as GLSL files for use with glslify.
A WebGPU engine.
GLSL rotation functions with matrices: 2D and 3D (with X/Y/Z convenience functions) available both as ES modules strings and as GLSL files for use with glslify.
Geometries for 3D rendering, including normals, UVs and cell indices (faces). Perfect if you want to supercharge your dependency folder... with 30KB of geometries.
SMAA (Enhanced Subpixel Morphological Antialiasing) post-processing; WebGL (OpenGL ES 2.0) implementation with no fluff.
Daniel Holden's functions designed to avoid conditionals in GLSL, available both as ES modules strings and as GLSL files for use with glslify.
Assets preloader using async/await and fetch for usage both in the browser and Node.js.
RAF loop with an adaptive fps and performance ratio calculated from either a sample count or a sample duration. Typically used when doing intensive graphics computation in canvas.
A TypeDoc theme based on Material 3.
A data structure and lookup for 3D vector fields (flow fields).
Compute Frenet-Serret frames for a path of 3D points and tangents.
Easing variables for sass
Common GLSL math constants (with 11 decimals) available both as ES modules strings and as GLSL files for use with glslify.
Create a RenderingContext (2d, webgl, webgl2, bitmaprenderer, gpupresent), optionally offscreen for possible use in a Worker.
A one trick pony package to download an image from a canvas.
Zero configuration, unbundled, opinionated development and prototyping server for simple ES modules development: types generation, format and linting, dev server and TypeScript support.
Easy console coloring and prefixing via Proxy object with ANSI strings.
An event utils system written in ES6.
An ellipsoid geometry for 3D rendering, including normals, UVs and cell indices (faces).