129 packages found
return whether two boxes or points are colliding in 2d
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.
Find the Overlap Area.
intersect a ray and triangle in 3 dimensions
2d segment to segment intersection detection
test for the intersection of convex polytopes in 2d or 3d, computing the minimum translation vector
return the contact set between two 3d meshes in motion
A 2D collision checker for modern JavaScript games.
Get the normalized ray that your mouse is projecting into your scene
Simple Collision Detection implementation for JavaScript
Superquad is yet another quadtree implementation for JavaScript that hopes to provide some additional functionality on top of standard quadtree implementations.
Detect collision between 2 given colors. Return a new color if 2 colors are too close
JavaScript implementation of a static spatial grid index in two dimension.
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
Measure and compare the dimensions and distances of DOM elements.
A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.
This throttling module prevents that function calls happens with a delay in between them in order to avoid "collisions" when calling a Service Bus or a store. Nothing to do with traffic though :-)
Crash performs optimized 2D collisions, powered by RBush and SAT.js, written in javascript.
test if a ray intersects an aabb in 2d/3d space