Experiment with the variable “Diameter” — no matter how big it is (unless it is greater than 180), the circle will never go past the edges.
This is just a small experimental project, nothing important. 7