131 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.
Fit a popover element on the screen.
Find the Overlap Area.
2d segment to segment intersection detection
Get the normalized ray that your mouse is projecting into your scene
A 2D collision checker for modern JavaScript games.
Superquad is yet another quadtree implementation for JavaScript that hopes to provide some additional functionality on top of standard quadtree implementations.
A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.
JavaScript implementation of a static spatial grid index in two dimension.
intersect a ray and triangle in 3 dimensions
Measure and compare the dimensions and distances of DOM elements.
Detect collision between 2 given colors. Return a new color if 2 colors are too close
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.
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
test if a ray intersects an aabb in 2d/3d space
Crash performs optimized 2D collisions, powered by RBush and SAT.js, written in javascript.