To change the line, hover the mouse over the endpoints and drag. To change the circle, hover the mouse over and drag. To change the circle radius, use the slider on the left.
I got the algorithm here: http://stackoverflow.com/questions/1073336/circle-line-collision-detection and then slightly modified it.