No-Library (pure JS), HTML, CSS, JavaScript
Vector 2
D3 3.x, HTML, CSS, JavaScript
more at: https://github.com/gilmoreorless/jquery-nearest
svg.js 2.1.1, HTML, CSS, JavaScript
jQuery 2.2.4, HTML, CSS, JavaScript
Demonstrating a function for calculating the intersection of two lines, and determining whether the intersection point is on either line segment.
Mootools 1.4.2, HTML, CSS, JavaScript
Mootools 1.4.0, HTML, CSS, JavaScript
more at: http://codepen.io/soulwire/pen/DoIuf
This demo shows how to test for a collision of a single point inside of a rectangle.
Shows off how to detect the collision between two rectangles.
jQuery 2.2.3, HTML, CSS, JavaScript