The project calculate if the red line is colliding with the blue circle. To move the things, drag the points. The center of the circle is the blue point, and its radius is its distance to the yellow point. The two red points define the red line. The yellow line is the line that is perpendicular to the red line and pass trough the center of the circle. The black point is at the intersection of the lines red and yellow.
All codes and calculations by me. To know how it works, go inside. I'm adding the function to get the positions of the 2 points colliding with the circle and the line, so I have to change many code and the project won't works until I finish this part. I think it will be soon.