Draw a circle (non-filled, w/thickness of +20 pixels, at center of x,y). Now find ALL x,y coordinates that circle occupies.

My Problem -
1 - Draw a circle (non-filled, w/thickness of +20 px, w/center at x,y)
2 - Now find all the (x,y) coordinates that that circle occupies and populate a table with these “results”

Number 1 is easy.

But how to do number 2 in corona/LUA?
[import]uid: 11094 topic_id: 14578 reply_id: 314578[/import]

A little bit of maths…

think of the big circle as a series of concentric circles, if you can use math to find how to plot a circle, then with the varying radius from n1 to n2 would be what you can check for.

It is not really that difficult. I will try to put up a tutorial on that one or make a custom control out of it, as check for a point in any shape

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 14578 reply_id: 53926[/import]