This project simulates a geometry compass. Set the radius, arc, x-cor, y-cor, using the sliders. Click on the green flag. The script will draw the arc of the circle you set with the sliders. Set the arc slider to 360º to get a full circle.
This project is an extension to my Circle(center, radius) project. To compute the arc I knew that if a 60-sided polygon with a given radius draws a circle of 360º then drawing just 30 sides should draw an arc of 180 degrees, a semicircle. An arc of 1º equals 60/360º = 0.1666. Then instead of using 60 in the repeat block, the value in the arc slider is multiplied by 0.1666 and this value is used in the repeat block.