EPX / Scale2x / AdvMAME2x / 3x pixel art scaling algorithms (Eric's Pixel Expansion). 2x, 3x, 4x, 6x, 8x. Anti-aliasing. Works on flat RGBA data.
published 0.0.129 2 years agoquadratic error mesh decimation. simplified interface for npm mesh-simplifier - use simple triangles instead of Three.js geometry.
published 0.0.17 a year agovery fast gaussian image blur functions originally by Ivan Kutskir and Wojciech Jarosz
published 0.0.115 2 years agosynchronously read, modify, and save PNG and JPG image data.
published 0.0.153 a year agosigned or unsigned distance function for triangles using r-tree and/or bvh and/or kd-tree
published 1.0.76 7 months agoget cross-sections of a 3d triangle mesh
published 0.0.278 2 years agoget the shortest connecting line segment / point of closest approach between a pair of line segments
published 0.0.2 2 years agoindex a set of triangles into a set of positions/pts and cells. merge vertices fast.
published 0.0.42 2 years agoconvert list of triangles into list of edges where curvature is above threshold
published 0.0.2 2 years agogenerate a triangle mesh from a distance function
published 0.0.162 7 months agolinear or bezier interpolation along a path made from line segments, using binary search
published 0.0.137 2 years agogiven an array of 3d line segments, chop the lines at all points of intersection, returning non-intersecting sub-segments
published 0.0.13 2 years agobreaks up a triangle mesh into "islands" (connected components)
published 0.0.2 2 years agofast sparse marching cubes implementation - runtime proportional to surface area rather than volume
published 0.0.172 7 months agogenerate random points and normals evenly distributed on a triangle mesh
published 0.0.2 2 years agoFast utilities for ray-casting against triangles or boxes or a distance function / implicit surface
published 0.0.214 7 months agodraw a filled triangle directly onto a pixel buffer, with textures or interpolated vertex colors
published 0.0.28 2 years agoprint basic text directly onto a flat pixel buffer
published 0.0.15 2 years agosimple software renderer. render an image of a triangle mesh directly to a pixel buffer without using the GPU.
published 0.0.2411 a year agoautomatic uv mapping / uv unwrapping / mesh parameterization / texture mapping -- simple interface for xatlas.js
published 0.0.2 2 years agosorting networks for up to 64 inputs. the fastest way to sort small lists.
published 0.0.7 2 years agoslide a point along a wall / surface / triangle mesh [eg for games, slide camera along wall upon collision]
published 0.0.31 2 years agoconvert an image into triangles with vertex colors - compress image data using mesh compression! poor man's vector tracing.
published 0.0.3 2 years agoconvert a triangle mesh into a list of "skeletal points" - points of maximum distance from the surface
published 0.0.54 7 months ago