use your mouse to add points, press space to find the gradient and offset uses gradient descent to find the line of best fit thanks to mladdict.com for providing the math notation and simulations