121 packages found
Find the Overlap Area.
Compact JavaScript library that provides an Object based solution for working with HTMLCanvas drawables as if they were tangible, separate objects. Good for lightweight game engines and mobile friendly.
Superquad is yet another quadtree implementation for JavaScript that hopes to provide some additional functionality on top of standard quadtree implementations.
A 2D collision checker for modern JavaScript games.
test for the intersection of convex polytopes in 2d or 3d, computing the minimum translation vector
Detect collision between 2 given colors. Return a new color if 2 colors are too close
Collision detection for circles, polygons, and points
- Collision
- Separating Axis Theorem
- Bounding Volume Hierarchy
- SAT
- BVH
- Circle
- Polygon
- Line
- Shape
- Separating
- Axis
- Theorem
- Bounding
- Volume
2d segment to segment intersection detection
simple, quick, AABB framework-independent, collision system.
Simple Collision Detection implementation for JavaScript
zero-dependency 2d collision detection for circles, polygons, and points (with SAT and BVH)
- Collision
- Separating Axis Theorem
- Bounding Volume Hierarchy
- SAT
- BVH
- Circle
- Polygon
- Line
- Shape
- Separating
- Axis
- Theorem
- Bounding
- Volume
return whether two boxes or points are colliding in 2d
Algorithm to calculate one-dimensional collision distance between two shapes
calculate the intersection of a ray and a disk or plane in three dimensions
A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.
A package for 2D and 3D vector math.
Fit a popover element on the screen.
calculate the intersection of a ray and a cone in three dimensions
Fast tracking and collision detection for large volumes of objects within an arbitrary number of dimensions
Library for polygons operations