circle

Create a filled or unfilled circle or ring and move the output polygon by the circle centre not the polygon centre.

Requires the mathlib library: https://code.coronalabs.com/code/mathliblua

Comments, 415 Votes - submitted on 01/11/2015 view repo

Ellipse class with intersection testing and a vertices functions that returns points for any arc on the circumference of a circle or ellipse. Includes a main.lua visual test program.

Comments, 427 Votes - submitted on 03/08/2014 view repo