JSPM

Found 1140 results for 2d

point-cluster

Fast nd point clustering.

  • v3.1.8
  • 45.40
  • Published

victor

A JavaScript 2D vector class with methods for common vector operations

  • v1.1.0
  • 45.32
  • Published

poly-decomp-es

Convex decomposition for 2D polygons

  • v0.4.2
  • 45.12
  • Published

vec2

manipulate vectors in 2d

  • v1.6.1
  • 44.29
  • Published

wind-core

wind layer core

  • v1.1.8
  • 43.37
  • Published

@tldraw/intersect

2D intersection utilities for TLDraw and maybe you, too.

  • v1.9.2
  • 43.10
  • Published

stage-js

2D HTML5 Rendering and Layout

  • v1.0.0-alpha.17
  • 42.27
  • Published

vecti

A tiny TypeScript library for 2D vector math.

  • v3.1.1
  • 41.92
  • Published

@thi.ng/vectors

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

  • v8.6.5
  • 41.82
  • Published

planck

2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development

  • v1.4.2
  • 41.54
  • Published

min-bounding-rectangle

Minimum bounding rectangle implementation in JavaScript. Uses `concaveman` and `mathjs` as dependencies.

  • v1.2.3
  • 41.46
  • Published

polygon

utility for working with polygons (arrays of vec2s)

  • v1.0.2
  • 41.26
  • Published

segseg

2d segment to segment intersection detection

  • v1.0.0
  • 41.26
  • Published

box-collide

return whether two boxes or points are colliding in 2d

  • v1.0.2
  • 41.18
  • Published

zrender-nightly

A lightweight graphic library providing 2d draw for Apache ECharts

  • v6.0.1-dev.20250831
  • 41.13
  • Published

scrawl-canvas

Responsive, interactive and more accessible HTML5 canvas elements. Scrawl-canvas is a JavaScript library designed to make using the HTML5 canvas element easier, and more fun

  • v8.15.0
  • 41.05
  • Published

get-canvas-pixel-color

Micro module to get the color of a single pixel on a HTML canvas

  • v2.0.1
  • 40.90
  • Published

2d-polygon-boolean

perform boolean operations on arbitrary polygons in 2d

  • v1.0.1
  • 40.60
  • Published

phaser-ce

Phaser CE (Community Edition) is a fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

  • v2.20.2
  • 40.47
  • Published

wgpu-matrix

fast matrix math library for WebGPU

  • v3.4.0
  • 40.41
  • Published

camera-unproject

unproject 2D point to 3D coordinate

  • v1.0.1
  • 40.24
  • Published

@kittl/paper

The Swiss Army Knife of Vector Graphics Scripting

  • v0.12.30
  • 40.04
  • Published

binpacking

binary tree based bin packing algorithm

  • v0.0.1
  • 39.99
  • Published

line2

perform operations on infinite lines in 2 dimensions

  • v0.2.1
  • 39.69
  • Published

2d-polygon-self-intersections

This library may not be fast, but it is robust. Robust in the fact that it will find all of the self-intersections in a polygon - minus of course shared endpoints.

  • v1.3.1
  • 39.63
  • Published

2d-polygon-area

compute the area of a 2d polygon

  • v1.0.0
  • 39.44
  • Published

circle2

2d circle implementation

  • v1.1.1
  • 39.27
  • Published

spritejs

A cross platform high-performance graphics system.

  • v3.8.3
  • 38.96
  • Published

@scratch/paper

The Swiss Army Knife of Vector Graphics Scripting

  • v0.11.20221201200345
  • 38.32
  • Published

p2

A JavaScript 2D physics engine.

  • v0.7.1
  • 37.94
  • Published

round-polygon

Small, typed, dependency free tool to round corners of 2d-polygon provided by an array of { x, y } points.

  • v0.6.7
  • 37.64
  • Published

vector2d

2D Vector library offering Float32Array, Array or standard Object based vectors.

  • v3.0.0
  • 37.61
  • Published

raf-loop

a minimal requestAnimationFrame render loop

  • v1.1.3
  • 37.26
  • Published

regl-line

2D line generator for Regl

  • v1.1.1
  • 36.89
  • Published

dom-2d-camera

A wrapper for attaching a 2D camera to a DOM element

  • v2.2.6
  • 36.81
  • Published

paper-jsdom

The Swiss Army Knife of Vector Graphics Scripting, packaged for headless use in Node.js

  • v0.12.18
  • 36.60
  • Published

curved-arrows

Draw S-curved arrows between points or shapes

  • v0.3.0
  • 36.14
  • Published

euclidean-distance

Calculate the Euclidean distance been two points in 2D/3D/nD space.

  • v1.0.0
  • 36.13
  • Published

webgl-plot

High-performance 2D plotting library based on native WebGL

  • v0.7.2
  • 36.01
  • Published

@playcanvas/react

A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.

  • v0.7.0
  • 35.92
  • Published

@geogirafe/lib-geoportal

GeoGirafe is a flexible application to build online geoportals.

  • v1.0.0-2012978305
  • 35.69
  • Published

chaikin-smooth

chaikin's smoothing algorithm for 2D lines

  • v1.0.4
  • 35.35
  • Published

gl-tiled

A Tiled editor renderer for WebGL.

  • v1.0.0
  • 35.34
  • Published

qr-encode

Encode a string into a QR code.

  • v0.3.0
  • 35.03
  • Published

@drincs/pixi-vn

Pixi'VN is a npm package that provides various features for creating visual novels.

  • v1.3.21
  • 34.55
  • Published

@thi.ng/matrices

Matrix & quaternion operations for 2D/3D geometry processing

  • v3.0.20
  • 34.20
  • Published

function-plot

A simple 2d function plotter powered by d3

  • v1.25.1
  • 34.06
  • Published

@thi.ng/dot

Graphviz document abstraction & serialization to DOT format

  • v2.1.114
  • 33.98
  • Published

@thi.ng/geom

Functional, polymorphic API for 2D geometry types & SVG generation

  • v8.2.10
  • 33.92
  • Published

@ion-phaser/core

A web component to integrate Phaser Framework with Angular, React, Vue, etc

  • v1.3.0
  • 33.82
  • Published

@thi.ng/morton

Z-order curve / Morton encoding, decoding & range extraction for arbitrary dimensions

  • v3.1.123
  • 33.71
  • Published

@excalidraw/math

Excalidraw math functions

  • v0.18.0-f0063e113
  • 33.39
  • Published

leafer-ui

一款革新、好用的 Canvas 引擎, 轻松实现专业图形编辑。适用于图形编辑、小游戏、互动应用、组态软件、生成图片与短视频等场景。

  • v1.9.5
  • 33.02
  • Published

@thi.ng/distance

N-dimensional distance metrics & K-nearest neighborhoods for point queries

  • v3.0.15
  • 32.87
  • Published

zrenderjs

A lightweight canvas library which providing 2d draw for ECharts。一个轻量级的Canvas类库,MVC封装,数据驱动,提供类Dom事件模型,让canvas绘图大不同!

  • v3.0.3
  • 32.60
  • Published

regl-shape

2D shape shader for regl

  • v1.1.0
  • 32.41
  • Published

@thi.ng/geom-resample

Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation

  • v3.0.61
  • 32.36
  • Published

@thi.ng/geom-arc

2D circular / elliptic arc operations

  • v2.1.194
  • 32.20
  • Published

quadtree-lib

Efficient quadtrees library written in CoffeeScript.

  • v1.0.9
  • 31.94
  • Published

x-math

Math library inspired by Google Closure library

  • v0.12.0
  • 31.89
  • Published

three-line-2d

lines expanded in a vertex shader

  • v1.1.6
  • 31.87
  • Published

paper-jsdom-canvas

The Swiss Army Knife of Vector Graphics Scripting, packaged for Node.js with rendering to Node-Canvas

  • v0.12.18
  • 31.59
  • Published

flatten-js

Javascript library for 2d geometry

  • v0.6.9
  • 31.54
  • Published

@thi.ng/geom-accel

n-D spatial indexing data structures with a shared ES6 Map/Set-like API

  • v4.1.60
  • 31.49
  • Published

@thi.ng/geom-subdiv-curve

Freely customizable, iterative nD subdivision curves for open / closed geometries

  • v3.0.67
  • 31.40
  • Published

@thi.ng/geom-clip-poly

2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)

  • v2.1.193
  • 31.40
  • Published

type3games-engine

Modulární herní engine pro 2D hry v JavaScriptu

  • v2.0.0
  • 31.36
  • Published

fast-vector

[![Actions Status](https://github.com/PRNDcompany/fast-vector/workflows/build/badge.svg)](https://github.com/PRNDcompany/fast-vector/actions) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen)](https://www.npmjs.com/package/fast-

  • v2.3.3
  • 31.31
  • Published

array-pack-2d

Quickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format

  • v1.0.0
  • 31.30
  • Published

@thi.ng/geom-splines

nD cubic & quadratic curve analysis, conversion, interpolation, splitting

  • v2.3.61
  • 31.29
  • Published

canvas-sketch

A utility for quickly prototyping 2D and WebGL sketches

  • v0.7.7
  • 31.15
  • Published

gl-scatter2d

2D WebGL scatter plots

  • v1.3.2
  • 30.94
  • Published

canvas-context

Create a RenderingContext (2d, webgl, webgl2, bitmaprenderer, webgpu), optionally offscreen for possible use in a Worker.

  • v3.3.0
  • 30.91
  • Published

polygons-intersect

This script finds all points where the polygons intersect each other.

  • v1.0.3
  • 30.89
  • Published

@thi.ng/ramp

Extensible keyframe interpolation/tweening of arbitrary, nested types

  • v3.3.56
  • 30.82
  • Published

route-graphics

A 2D graphics rendering interface that takes JSON input and renders pixels using PixiJS

  • v0.0.2-rc28
  • 30.76
  • Published

gl-line2d

2D line plots

    • v1.4.1
    • 30.13
    • Published

    polygon.clip

    clip a polygon with another

    • v0.0.3
    • 30.11
    • Published

    three-dxf-loader

    Cross platform DXF loader for three.js. Out of the box usable with react-three-fiber.

    • v5.2.0
    • 29.85
    • Published

    point-in-triangle

    test whether a point is inside a triangle

    • v1.0.1
    • 29.83
    • Published

    rect-crop

    Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.

    • v0.0.0
    • 29.78
    • Published

    @thi.ng/webgl

    WebGL & GLSL abstraction layer

    • v6.9.75
    • 29.58
    • Published

    sketch-js

    Cross-Platform JavaScript Creative Coding Framework

    • v1.1.3
    • 29.58
    • Published

    rect-clamp

    Constraint a Rectangle into another by preserving the ratio.

    • v0.0.0
    • 29.57
    • Published

    orbit-controls

    generic controls for orbiting a target in 3D

    • v1.2.4
    • 29.37
    • Published

    @box2d/core

    A TypeScript port of Box2D

    • v0.11.0
    • 29.12
    • Published

    relativ

    Convert coordinate within the bounds of an object to relative offsets given a based width and height

    • v3.1.0
    • 29.05
    • Published

    math-ds

    Mathematical data structures.

    • v1.2.1
    • 28.95
    • Published

    quick-hull-2d

    Computes the convex hull of a given set of points using the Quick Hull algorithm.

    • v0.1.0
    • 28.82
    • Published

    three-noise

    Simple gradient noise library for use with Three.js. Now with fBm!

    • v1.1.2
    • 28.80
    • Published

    litecanvas

    Lightweight HTML5 canvas 2D game engine suitable for small projects and creative coding. Inspired by PICO-8 and p5.js/Processing.

    • v0.99.0
    • 28.69
    • Published

    shape

    Simple 2D shape generators

    • v0.0.1
    • 28.66
    • Published

    leafer-editor

    **leafer-editor** 在 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的基础上,集成了 图形编辑器、视图控制 、滚动条、箭头、HTML 插件,适用于在线图形编辑的场景。

    • v1.9.5
    • 28.53
    • Published

    svg-to-mesh

    svg-to-mesh is a JavaScript utility function that converts an SVG file into a 3D mesh. This function is ideal for turning 2D vector-based graphics into 3D models that can be used in WebGL or other 3D environments.

    • v3.0.0
    • 28.44
    • Published

    ts-2d-geometry

    This is a simple library containing classes with immutable operations to use for 2d Geometry tasks.

    • v6.3.5
    • 28.27
    • Published

    leafer

    leafer

    • v1.9.5
    • 28.26
    • Published

    @thi.ng/shader-ast-js

    Customizable JS codegen, compiler & runtime for @thi.ng/shader-ast

    • v1.2.23
    • 28.15
    • Published

    to-smooth

    chaikin's smoothing algorithm for any dimension lines

    • v2.2.0
    • 28.02
    • Published

    @minogin/vector

    2D-vector algebra. Vectors are immutable - every operation returns new instance.

    • v1.0.2
    • 27.89
    • Published

    camera-project

    project 3D point into 2D window space

    • v1.0.2
    • 27.83
    • Published

    2d-array-rotation

    Rotates two-dimensional arrays clockwise by 90 degrees, 180 degrees, or 270 degrees

    • v2.1.1
    • 27.78
    • Published

    @thi.ng/rasterize

    Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)

    • v1.0.161
    • 27.76
    • Published

    flo-vector2d

    A purely functional 2d vector library.

    • v4.0.5
    • 27.42
    • Published

    p2-es

    A JavaScript 2D physics engine.

    • v1.2.3
    • 27.31
    • Published

    point2d

    A point in 2d space

    • v0.0.1
    • 27.25
    • Published

    i2djs

    Integrated-2d, framework for 2D graphics rendering for SVG/Canvas/WebGl context

    • v5.4.0
    • 27.14
    • Published

    @thi.ng/hiccup-canvas

    Hiccup shape tree renderer for vanilla Canvas 2D contexts

    • v3.1.73
    • 27.04
    • Published

    shape2d

    Turns lineTo, moveTo, quadratic & bezier curves into discrete Vector2 points

    • v0.0.5
    • 27.03
    • Published

    math2d

    Two dimensional vector math library for JavaScript. Built for performance in computation-heavy real-time engines without sacrificing usability. Supports tree shaking and dead code removal to avoid bloating client-side bundles. Zero dependencies.

    • v4.0.1
    • 27.01
    • Published

    vector2-node

    An object representing a 2D vector.

    • v0.0.3
    • 26.99
    • Published

    cassia-engine

    A TypeScript game engine focused on 2D, ease of use, and high performance.

    • v0.0.17
    • 26.99
    • Published

    @thi.ng/boids

    n-dimensional boids simulation with modular behavior system

    • v1.1.24
    • 26.85
    • Published

    expo-pixi

    Tools for using pixi in Expo

    • v2.1.1
    • 26.78
    • Published

    @thi.ng/viz

    Declarative, functional & multi-format data visualization toolkit based around @thi.ng/hiccup

    • v0.8.11
    • 26.75
    • Published

    svg2canvas

    Library to allow batching and rendering of SVGs onto the canvas EFFICIENTLY. Currently only compatible w/ simple geometry.

    • v0.0.14
    • 26.72
    • Published

    @thi.ng/tensors

    0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage

    • v0.9.0
    • 26.71
    • Published

    react-css-transform

    A React component to help handle complex nested 2d and 3d css transformations

    • v2.1.1
    • 26.69
    • Published

    @thi.ng/geom-fuzz

    Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support

    • v3.0.75
    • 26.62
    • Published

    @thi.ng/axidraw

    Minimal AxiDraw plotter/drawing machine controller for Node.js

    • v1.1.148
    • 26.56
    • Published

    @thi.ng/geom-voronoi

    Fast, incremental 2D Delaunay & Voronoi mesh implementation

    • v2.3.136
    • 26.56
    • Published

    segment2

    2d line segment

    • v0.3.2
    • 26.52
    • Published

    scrollmoo

    ScrollMoo is a pure JavaScript-based tool that lets you create high-performance, keyframed scroll animations.

    • v1.1.11
    • 26.51
    • Published

    @thi.ng/layout

    Configurable nested 2D grid layout generators

    • v4.0.5
    • 26.44
    • Published

    @thi.ng/tsne

    Highly configurable t-SNE implementation for arbitrary dimensions

    • v0.1.36
    • 26.39
    • Published

    @thi.ng/lsys

    Functional, extensible L-System architecture w/ support for probabilistic rules

    • v2.3.30
    • 26.36
    • Published

    boosh

    spawn a window and draw stuff using the html5 canvas api"

    • v0.1.0
    • 26.25
    • Published

    vivid-animations

    A modern web-based animation library for mathematical visualizations - like Manim but live in the browser

    • v0.2.5
    • 26.25
    • Published

    sdf-polygon-2d

    sample the signed distance field of a polygon in 2d space

    • v2.0.0
    • 26.08
    • Published

    @thi.ng/iges

    IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed

    • v2.1.197
    • 26.01
    • Published

    @flyskywhy/react-native-browser-polyfill

    Browser polyfill with native canvas 2d 3d for making React Native compatible with web libs like zdog (and pixi.js, three.js, phaser.js to be validated)

    • v2.0.2
    • 25.97
    • Published

    @thi.ng/geom-sdf

    2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators

    • v1.0.49
    • 25.92
    • Published

    @thi.ng/geom-axidraw

    Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands

    • v1.0.48
    • 25.85
    • Published

    @thi.ng/wasm-api-canvas

    HTML Canvas2D bridge API for hybrid TypeScript & WASM (Zig) applications

    • v1.0.51
    • 25.67
    • Published

    @thi.ng/scenegraph

    Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support

    • v2.0.26
    • 25.66
    • Published

    rectpack-ts

    Rectpack-ts is a TypeScript library that implements heuristic algorithms for solving the 2D knapsack problem, also known as the bin packing problem. This involves packing a set of rectangles into the smallest number of bins.

    • v0.0.2
    • 25.59
    • Published

    create-emerald-app

    Create a new Emerald project with a single command

    • v1.0.9
    • 25.59
    • Published

    @thi.ng/poisson

    nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs

    • v3.2.60
    • 25.57
    • Published

    cvs

    A basic canvas framework for 2d drawing.

    • v0.6.8
    • 25.57
    • Published

    leafer-in

    leafer-in 是 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的官方增强功能插件中心。

    • v1.9.5
    • 25.49
    • Published

    bicubic-interpolate

    A library for interpolating 2D scalar fields/ 3D surfaces.

    • v1.0.4
    • 25.49
    • Published

    path-finding-2d

    Fast 2D pathfinding library using triangulated navmesh

    • v1.0.4
    • 25.43
    • Published

    gen-biome

    Procedural generation of 2D maps with distinct biomes

    • v3.0.5
    • 25.41
    • Published

    collider2d

    A 2D collision checker for modern JavaScript games.

    • v1.1.1
    • 25.40
    • Published

    leafer-draw

    **leafer-draw** 是 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的轻量版,体积小巧,移除了交互功能,仅提供绘制元素的功能,适用于绘制海报、插图、图表、动画等场景,或作为框架的底层绘制库。

    • v1.9.5
    • 25.39
    • Published

    webgl-operate

    A TypeScript based WebGL rendering framework.

    • v0.9.0
    • 25.31
    • Published

    leafer-game

    **leafer-game** 在 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的基础上,集成了 Robot、状态、 动画、运动路径插件,适用于小游戏场景。

    • v1.9.5
    • 24.99
    • Published

    homography

    Perform Affine, Projective or Piecewise Affine transformations over any Image or HTMLElement from only a set of reference points. High-Performance and easy-to-use.

    • v1.8.1
    • 24.80
    • Published

    canvas-multiline-text

    Draws a text in a rectangle on a canvas, on multiple lines

    • v1.0.3
    • 24.78
    • Published

    simply2d

    Basic 2D graphics library for node.js

    • v1.3.6
    • 24.78
    • Published

    phaser-multires

    A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

    • v2.5.0
    • 24.75
    • Published

    poly-math-2d

    2D Polygon math: boolean operations, triangulation, graphs, support for holes and non-convex shapes.

    • v0.2.0
    • 24.40
    • Published

    ngx-konva

    This library provides you simple Angular bindings for [KonvaJS](https://konvajs.org/). This is still a work in progress and not an official release of Konva framework. PRs and contributions are more than welcome.

    • v16.2.0
    • 24.28
    • Published

    poissimple

    Simple and tileable Poisson disk sampling, allowing for the generation of a specified number of points in any number of dimensions

    • v0.0.5
    • 24.25
    • Published

    sone

    A declarative Canvas layout engine for JavaScript with advanced rich text support.

    • v1.0.2
    • 24.19
    • Published

    @thi.ng/quad-edge

    Quadedge data structure after Guibas & Stolfi

    • v3.1.99
    • 23.95
    • Published

    smooth-polyline

    Smoothing algorithm for 2D lines and polygons

    • v1.0.8
    • 23.80
    • Published

    w-gl

    A simple WebGL renderer

    • v0.22.0
    • 23.76
    • Published

    @thi.ng/dgraph-dot

    Customizable Graphviz DOT serialization for @thi.ng/dgraph

    • v2.1.177
    • 23.68
    • Published

    pixi-bump

    Fork of kittykatattack's bump library for PixiJS (https://github.com/kittykatattack/bump), wrapped into npm package

    • v1.0.2
    • 23.48
    • Published

    @footgun/collision-2d

    A collection of collision detection and response functions for 2D

    • v0.5.1
    • 22.99
    • Published

    swarm-shape

    Canvas 2D path made out of a particles swarm

    • v0.0.5
    • 22.90
    • Published

    ray

    Minimal Ray geometric primitive

    • v0.0.1
    • 22.78
    • Published

    dear-image

    A class that represents a graphical image.

    • v1.4.0
    • 22.74
    • Published

    pex-gl

    Create a RenderingContext (2d, webgl, webgl2, webgpu) for use in PEX.

    • v3.0.2
    • 22.55
    • Published

    @rawify/vector2

    The RAW JavaScript 2D Vector library

    • v0.0.6
    • 22.50
    • Published

    butlerov

    Draw chemical structures with js and Konva

      • v0.1.0
      • 22.39
      • Published

      @salusoft89/planegcs

      A wasm build and a simple wrapper of the FreeCAD PlaneGCS (2D geometric constraint solver)

      • v1.1.7
      • 22.38
      • Published

      react-mesmerizing

      React library with mesmerizing components including BallEscapeCanvas - interactive animation with rotating rings and bouncing ball. Features customizable colors, backgrounds, and themes.

      • v1.0.2
      • 22.32
      • Published

      arc-to

      implements arcTo with generic 2D arrays

      • v1.0.1
      • 22.31
      • Published

      mathador

      a typescript module implementing some vector and matrix math

      • v0.2.2
      • 22.27
      • Published

      rect-mix

      Interpolate 2 rectangles

      • v0.0.0
      • 22.27
      • Published

      p2s

      A JavaScript 2D physics engine.

      • v0.7.2
      • 21.99
      • Published

      @duljs/vue

      minimal canvas 2d renderer

      • v1.0.10
      • 21.81
      • Published

      projection-3d-2d

      Project (transform) point coordinates from 3D to 2D and unproject it back.

      • v2.0.8
      • 21.73
      • Published

      unifiedtransform

      The RAW library to work with CSS transform strings

      • v0.4.2
      • 21.13
      • Published

      @vicimpa/glm

      A lightweight, class-based alternative to gl-matrix providing vector, matrix, and quaternion math utilities for 2D/3D graphics, game development, and WebGL/WebGPU applications.

      • v0.1.1
      • 21.11
      • Published

      brainiac-engine

      A comprehensive 2D game engine with agent-based architecture, real-time multiplayer support, advanced visual effects, and LLM-powered intelligence with centralized arslib integration.

      • v0.8.0
      • 20.87
      • Published

      plotboilerplate

      A simple javascript plotting boilerplate for 2d stuff.

      • v1.24.0
      • 20.64
      • Published

      vue-force-graph

      Vue component for 2D, 3D, VR and AR force directed graphs

      • v0.1.2
      • 20.61
      • Published

      canvas-loop

      canvas loop/scale utility

      • v1.0.7
      • 20.49
      • Published

      2d-gaming

      This is an Angular package fo developing 2d games in angular. [Please report issues/questions/any ideas to better help this package](https://github.com/CWestBlue/2d-gaming/issues).

      • v2.1.0
      • 20.44
      • Published

      blaze-2d

      A fast and simple WebGL 2 2D game engine written in TypeScript

      • v0.0.1
      • 20.43
      • Published

      jakke-graphics-ts

      2D, 3D geometry and graphics utility library for TypeScript projects.

      • v0.0.8
      • 20.22
      • Published

      twr-wasm

      twr-wasm provides a simple way to run C/C++ code in a web browser using WebAssembly.

      • v2.5.0
      • 20.16
      • Published

      spase

      Micro library for performing 2D spatial calculations of DOM elements

      • v11.3.0
      • 20.08
      • Published

      ctx-get-transform

      monkey patch CanvasRenderingContext2D to include a getTransform method

      • v1.1.1
      • 20.07
      • Published

      @opengisch/gg-dev

      GeoGirafe is a VanillaJS-based library for creating online 2D and 3D geoportals.

      • v0.3.56
      • 20.00
      • Published

      gl-sprite-batch

      a high level quad batcher for stackgl

      • v3.1.1
      • 19.97
      • Published

      web-2d-game-engine

      A lightweight 2D game engine for web browsers with ECS architecture

      • v0.2.0
      • 19.91
      • Published

      @duljs/core

      minimal canvas 2d renderer

      • v1.0.8
      • 19.78
      • Published

      getboundingbox

      This is a utility function to calculate the bounding box of series of 2D points

      • v1.0.0
      • 19.59
      • Published

      @theatrejs/theatrejs

      🎮 A JavaScript 2D Game Engine focused on creating pixel art games.

      • v1.21.0
      • 19.54
      • Published

      basegl

      A blazing fast WebGL drawing API. Currently supports two-dimensional operations, including SDF shapes, animation, mouse handling and SDF text (both online atlas baking as well as rendering).

      • v0.2.38
      • 19.51
      • Published

      2d-geometry

      Performant & ergonomic 2D geometry in typescript

      • v3.0.0
      • 19.51
      • Published

      three-line2

      lines expanded in a vertex shader

      • v1.1.9
      • 19.49
      • Published