3 Repos
Libraries that implement math or utility functions from scratch with no external dependencies for minimal bundle size.
Distinct from JavaScript Math Libraries: Distinct from JavaScript Math Libraries: focuses on the zero-dependency implementation approach rather than general scientific math capabilities.
Explore 3 awesome GitHub repositories matching scientific & mathematical computing · Zero-Dependency Implementations. Refine with filters or upvote what's useful.
gl-matrix is a high-performance JavaScript library for vector and matrix math, purpose-built for real-time 3D graphics and physics simulations. It stores all vectors and matrices as typed arrays (Float32Array or Float64Array) in column-major order, matching the memory layout expected by OpenGL and WebGL shaders without requiring transposition. The library is implemented from scratch with zero external dependencies, keeping its bundle size minimal for web and Node.js environments. The library distinguishes itself through its immutable operation pattern, where each math function returns a new t
Implements vector and matrix math from scratch with zero external dependencies for minimal bundle size.
Microdiff is a utility library for calculating structural differences between two JavaScript objects or arrays. It identifies additions, removals, and modifications by performing a deep comparison of nested data structures, providing a granular list of changes between object states. The library is built with a zero-dependency implementation that relies exclusively on native language primitives to maintain a minimal memory footprint. It includes built-in circular reference handling, which tracks object identities during traversal to prevent infinite loops when processing self-referencing data
Provides a lightweight implementation using only native primitives to ensure minimal memory footprint.
gcoord is a coordinate conversion library that transforms geographic coordinates between China's three major map coordinate systems: WGS-84, GCJ-02, and BD-09. It handles the offset corrections required by national encryption policies, converting GPS or API-derived coordinates to align with the projections used by Chinese map providers like Baidu, Gaode, and Google China. The library provides direct conversions between all three systems, including WGS-84 to GCJ-02, WGS-84 to BD-09, GCJ-02 to BD-09, and their reverse transformations. It processes individual coordinate pairs, batches of coordin
Implements the entire conversion logic as a standalone module with zero external dependencies.