dmnsgn
@dmnsgn
15
Published Tools
0
Total Stars
0
Weekly Downloads
Published Tools
15 Skillsacross 4 categoriesA one trick pony package to tint an image with a canvas 2D context.
Draw images into a canvas square grid for fast retrieval at a thumbnail size.
Create a RenderingContext (2d, webgl, webgl2, bitmaprenderer, webgpu), optionally offscreen for possible use in a Worker.
Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
Get a codec parameter string (like 'avc1.4d002a') from human readable options (like { name: 'Main', level: '4.2' }) and back to a descriptive name ('AVC Main Profile Level 4.2').
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.
A 3D boid system with accompanying emergent behaviors. Implementation mostly based on Craig Reynolds paper Steering Behaviors For Autonomous Characters.
Re-export CommonJS named exports using Node.js cjs-module-lexer.
Common GLSL math constants (with 11 decimals) available both as ES modules strings and as GLSL files for use with glslify.
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.
EXR file parser. Ported from Three.js implementation without depending on it.
A one trick pony package to download an image from a canvas.