Page 1 of 1

Half Circle like the letter C

Posted: Sun Jun 11, 2023 6:57 pm
by Yani354
is it possible to draw a half circle like thatImage if so can someone explain how.

Re: Half Circle like the letter C

Posted: Sun Jun 11, 2023 8:10 pm
by Andlac028
Take a look at love.graphics.arc, you need line drawmode and open arcmode. The first example draws halfcircle, just modify angles to suit your needs. (angles are in radians, you can use math.deg and math.rad to concert between degrees and radius, but basically 180 degrees = math.pi radians)