Calculates if a line and circle intersect. Mouse: circle position Left/Right: circle size Drag: line position Up/Down/Scroll: line gradient
In this project the line will never be vertical as that would mean its gradient would be infinite. As such I don't have to handle vertical lines separately.