I would like the arc to be drawn without seeing the radius lines :
maybe you shouldn’t close the path
It removed only one radius line, not both…
as i understand, lines and arc are two distinct lines of a same shape ?
Whenever you move a point it draws a line between them.
If you need separated lines, i think you may need to close the lines shape before moving to the arc starting point or create a new subPath.
Actually I think this is a bug.
I added it on github:
The issue is the first two params is the center of the arc not the starting point of the arc and internally ofPath is adding a moveTo - but doing it to the center, so you see the line from the center to the start.
A quick solution for now while we get this fixed is to use ofPolyline if you can.
ofPolyline has an identical arc function and works as expected.
All the best