point-cluster
Fast nd point clustering.
Found 1140 results for 2d
Fast nd point clustering.
A JavaScript 2D vector class with methods for common vector operations
Convex decomposition for 2D polygons
manipulate vectors in 2d
wind layer core
2D intersection utilities for TLDraw and maybe you, too.
2D HTML5 Rendering and Layout
A tiny TypeScript library for 2D vector math.
Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
Free texture packer core
2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development
Minimum bounding rectangle implementation in JavaScript. Uses `concaveman` and `mathjs` as dependencies.
utility for working with polygons (arrays of vec2s)
2d segment to segment intersection detection
return whether two boxes or points are colliding in 2d
A lightweight graphic library providing 2d draw for Apache ECharts
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
The official Spine Runtimes for the web.
Micro module to get the color of a single pixel on a HTML canvas
perform boolean operations on arbitrary polygons in 2d
The official Spine Runtimes for the web PixiJS v7.
Phaser CE (Community Edition) is a fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
fast matrix math library for WebGPU
unproject 2D point to 3D coordinate
The Swiss Army Knife of Vector Graphics Scripting
binary tree based bin packing algorithm
perform operations on infinite lines in 2 dimensions
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.
Matrices.
compute the area of a 2d polygon
2d circle implementation
A cross platform high-performance graphics system.
The official Spine Runtimes for CanvasKit for NodeJS
The Swiss Army Knife of Vector Graphics Scripting
A JavaScript 2D physics engine.
Small, typed, dependency free tool to round corners of 2d-polygon provided by an array of { x, y } points.
2D Vector library offering Float32Array, Array or standard Object based vectors.
paper.js fork
a minimal requestAnimationFrame render loop
Perform a chi-square independence test.
2D line generator for Regl
A wrapper for attaching a 2D camera to a DOM element
2D camera for WebGL
The Swiss Army Knife of Vector Graphics Scripting, packaged for headless use in Node.js
Flatten a two-dimensional nested array according to a callback function.
Draw S-curved arrows between points or shapes
Calculate the Euclidean distance been two points in 2D/3D/nD space.
High-performance 2D plotting library based on native WebGL
A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.
GeoGirafe is a flexible application to build online geoportals.
chaikin's smoothing algorithm for 2D lines
A Tiled editor renderer for WebGL.
Fast 2D convex hull (Graham Scan)
Encode a string into a QR code.
TaggedText for pixi.js
Pixi'VN is a npm package that provides various features for creating visual novels.
The official Spine Runtimes for the Phaser v3.
Matrix & quaternion operations for 2D/3D geometry processing
A simple 2d function plotter powered by d3
Graphviz document abstraction & serialization to DOT format
Functional, polymorphic API for 2D geometry types & SVG generation
A web component to integrate Phaser Framework with Angular, React, Vue, etc
Z-order curve / Morton encoding, decoding & range extraction for arbitrary dimensions
The official Spine Runtimes for the web.
Detect if a polygon has self intersecting lines
2D / 3D closest point / proximity helpers
snap round 2d points
Excalidraw math functions
2D/3D shape intersection checks
A CLI used alongside canvas-sketch
一款革新、好用的 Canvas 引擎, 轻松实现专业图形编辑。适用于图形编辑、小游戏、互动应用、组态软件、生成图片与短视频等场景。
1D / 2D bit field implementations
N-dimensional distance metrics & K-nearest neighborhoods for point queries
A lightweight canvas library which providing 2d draw for ECharts。一个轻量级的Canvas类库,MVC封装,数据驱动,提供类Dom事件模型,让canvas绘图大不同!
Vector2 class library written in javascript.
2D shape shader for regl
Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation
2D polygon/polyline analysis & processing utilities
2D circular / elliptic arc operations
Font loader plugin for PixiJS
triangulates a series of 2D contours
Efficient quadtrees library written in CoffeeScript.
Math library inspired by Google Closure library
lines expanded in a vertex shader
WASM bindings for Grida Canvas
2D line clipping (Liang-Barsky)
The Swiss Army Knife of Vector Graphics Scripting, packaged for Node.js with rendering to Node-Canvas
2D/3D convex polygon tessellators
Javascript library for 2d geometry
n-D spatial indexing data structures with a shared ES6 Map/Set-like API
Freely customizable, iterative nD subdivision curves for open / closed geometries
2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)
Modulární herní engine pro 2D hry v JavaScriptu
[](https://github.com/PRNDcompany/fast-vector/actions) [](https://www.npmjs.com/package/fast-
Quickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format
nD cubic & quadratic curve analysis, conversion, interpolation, splitting
A utility for quickly prototyping 2D and WebGL sketches
creates a picking ray for a 2D/3D camera
2D WebGL scatter plots
Create a RenderingContext (2d, webgl, webgl2, bitmaprenderer, webgpu), optionally offscreen for possible use in a Worker.
This script finds all points where the polygons intersect each other.
Extensible keyframe interpolation/tweening of arbitrary, nested types
A 2D graphics rendering interface that takes JSON input and renders pixels using PixiJS
2D line plots
clip a polygon with another
Gulp texture packer
Cross platform DXF loader for three.js. Out of the box usable with react-three-fiber.
test whether a point is inside a triangle
Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.
WebGL & GLSL abstraction layer
Cross-Platform JavaScript Creative Coding Framework
Constraint a Rectangle into another by preserving the ratio.
generic controls for orbiting a target in 3D
A TypeScript port of Box2D
2D grid and shape iterators w/ multiple orderings
Convert coordinate within the bounds of an object to relative offsets given a based width and height
Mathematical data structures.
Decompress with NRV2E algorithm
Computes the convex hull of a given set of points using the Quick Hull algorithm.
Simple gradient noise library for use with Three.js. Now with fBm!
Lightweight HTML5 canvas 2D game engine suitable for small projects and creative coding. Inspired by PICO-8 and p5.js/Processing.
Simple 2D shape generators
**leafer-editor** 在 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的基础上,集成了 图形编辑器、视图控制 、滚动条、箭头、HTML 插件,适用于在线图形编辑的场景。
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.
Fast 2D contour line extraction / generation
This is a simple library containing classes with immutable operations to use for 2d Geometry tasks.
leafer
Customizable JS codegen, compiler & runtime for @thi.ng/shader-ast
chaikin's smoothing algorithm for any dimension lines
2D-vector algebra. Vectors are immutable - every operation returns new instance.
project 3D point into 2D window space
Rotates two-dimensional arrays clockwise by 90 degrees, 180 degrees, or 270 degrees
Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)
Multi-Style Text for pixi.js
A purely functional 2d vector library.
whether a picking ray intersects with a plane
A JavaScript 2D physics engine.
A point in 2d space
Decode Polish Vehicle Registration Certificate Aztec 2D barcode data
Integrated-2d, framework for 2D graphics rendering for SVG/Canvas/WebGl context
A C++ native canvas 2D/WebGL component based on gpu opengl glsl shader GCanvas
Free texture packer CLI
Hiccup shape tree renderer for vanilla Canvas 2D contexts
Turns lineTo, moveTo, quadratic & bezier curves into discrete Vector2 points
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.
An object representing a 2D vector.
A TypeScript game engine focused on 2D, ease of use, and high performance.
n-dimensional boids simulation with modular behavior system
Tools for using pixi in Expo
Declarative, functional & multi-format data visualization toolkit based around @thi.ng/hiccup
Library to allow batching and rendering of SVGs onto the canvas EFFICIENTLY. Currently only compatible w/ simple geometry.
0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage
A React component to help handle complex nested 2d and 3d css transformations
A 2D Vector library
Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support
Minimal AxiDraw plotter/drawing machine controller for Node.js
Fast, incremental 2D Delaunay & Voronoi mesh implementation
2d line segment
ScrollMoo is a pure JavaScript-based tool that lets you create high-performance, keyframed scroll animations.
Configurable nested 2D grid layout generators
Highly configurable t-SNE implementation for arbitrary dimensions
Functional, extensible L-System architecture w/ support for probabilistic rules
spawn a window and draw stuff using the html5 canvas api"
A modern web-based animation library for mathematical visualizations - like Manim but live in the browser
The official Spine Runtimes for the Phaser v4.
sample the signed distance field of a polygon in 2d space
IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed
The official Spine Runtimes for the web.
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)
2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators
Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands
Tools for interpolation a set of 2D points by using Cubic Bezier Curves algorithm.
HTML Canvas2D bridge API for hybrid TypeScript & WASM (Zig) applications
Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support
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.
Create a new Emerald project with a single command
nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs
A basic canvas framework for 2d drawing.
Excalidraw math functions
leafer-in 是 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的官方增强功能插件中心。
A library for interpolating 2D scalar fields/ 3D surfaces.
Fast 2D pathfinding library using triangulated navmesh
Procedural generation of 2D maps with distinct biomes
A 2D collision checker for modern JavaScript games.
**leafer-draw** 是 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的轻量版,体积小巧,移除了交互功能,仅提供绘制元素的功能,适用于绘制海报、插图、图表、动画等场景,或作为框架的底层绘制库。
A TypeScript based WebGL rendering framework.
wraps words based on arbitrary 2D glyphs
Test if a value is a 2-dimensional ndarray-like object.
2D Point to Line Segment distance function
**leafer-game** 在 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的基础上,集成了 Robot、状态、 动画、运动路径插件,适用于小游戏场景。
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.
Draws a text in a rectangle on a canvas, on multiple lines
Basic 2D graphics library for node.js
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
2D Polygon math: boolean operations, triangulation, graphs, support for holes and non-convex shapes.
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.
Simple and tileable Poisson disk sampling, allowing for the generation of a specified number of points in any number of dimensions
A declarative Canvas layout engine for JavaScript with advanced rich text support.
Tailwind CSS plugin to enable tailwind container queries for both width and height
Quadedge data structure after Guibas & Stolfi
A 2D map plugin for React Canvas
Smoothing algorithm for 2D lines and polygons
A simple WebGL renderer
Customizable Graphviz DOT serialization for @thi.ng/dgraph
Fork of kittykatattack's bump library for PixiJS (https://github.com/kittykatattack/bump), wrapped into npm package
ECS框架2D数学库 - 提供向量、矩阵、几何形状和碰撞检测功能
A collection of collision detection and response functions for 2D
Canvas 2D path made out of a particles swarm
Minimal Ray geometric primitive
A class that represents a graphical image.
Library for polygons operations
Asim Unity Extensions 2D
Create a RenderingContext (2d, webgl, webgl2, webgpu) for use in PEX.
The RAW JavaScript 2D Vector library
Excalidraw math functions
Draw chemical structures with js and Konva
A wasm build and a simple wrapper of the FreeCAD PlaneGCS (2D geometric constraint solver)
React library with mesmerizing components including BallEscapeCanvas - interactive animation with rotating rings and bouncing ball. Features customizable colors, backgrounds, and themes.
implements arcTo with generic 2D arrays
The official Spine webcomponents.
a typescript module implementing some vector and matrix math
Interpolate 2 rectangles
A JavaScript 2D physics engine.
Create starters for BGEW 2D Game Engine
TaggedText for pixi.js
minimal canvas 2d renderer
Project (transform) point coordinates from 3D to 2D and unproject it back.
The RAW library to work with CSS transform strings
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.
A comprehensive 2D game engine with agent-based architecture, real-time multiplayer support, advanced visual effects, and LLM-powered intelligence with centralized arslib integration.
A simple hexagon grid made for games
A simple javascript plotting boilerplate for 2d stuff.
Vue component for 2D, 3D, VR and AR force directed graphs
canvas loop/scale utility
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).
A fast and simple WebGL 2 2D game engine written in TypeScript
2D, 3D geometry and graphics utility library for TypeScript projects.
A simple square grid made for games
twr-wasm provides a simple way to run C/C++ code in a web browser using WebAssembly.
Micro library for performing 2D spatial calculations of DOM elements
monkey patch CanvasRenderingContext2D to include a getTransform method
GeoGirafe is a VanillaJS-based library for creating online 2D and 3D geoportals.
a high level quad batcher for stackgl
A lightweight 2D game engine for web browsers with ECS architecture
minimal canvas 2d renderer
This is a utility function to calculate the bounding box of series of 2D points
🎮 A JavaScript 2D Game Engine focused on creating pixel art games.
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).
Performant & ergonomic 2D geometry in typescript
lines expanded in a vertex shader