Points

This objects is a helper can be used for so many purposes. It helps for creating random points, sorting them and animating them. Here what you can do:

Points.createRandom(n)

Details of the function is at createRandom

Points.createRandom(n, minX, maxX, minY, maxY)

Details of the function is at createRandom

Points.sortX(points)

Details of the function is at sort

Points.sortY(points)

Details of the function is at sort

Points.animateRandom(points, function)

Details of the function is at animate

Points.animateVibrate(points, function)

Details of the function is at animate