sets up a 2d array in a sense and calculates position and color for all points and draws them