Collinearity by metaphorical.net
Points are collinear when you can draw a straight line through each of them. This is an algorithm to determine whether a number of points are collinear.
Processing: An algorithm to determin whether a number of points are on a straight line.