I think I found an answer! I wrote a program a while back in C++ that makes a shape based on a length and number of points. The side length uses a radius, so if I get rid of the length part and just use the radius, it would give me points based on a radius. I could just copy that formula and have it compare each point that it would normally draw.
(By the way, this is the code:)
float pi = 3.14159265358979;
for(t = sides; t > 0; t--){
thetaNums[t-1] = 2 * t * pi / sides;
}
theta = pi / sides;
radius = length * (sin((pi / 2) - theta));
radius /= sin(theta * 2);
for(t = 0; t < sides; t++){
xPts[t] = xinit + radius * cos(thetaNums[t]);
yPts[t] = yinit + radius * sin(thetaNums[t]);
}
That won't draw it, but it will get all the points needed. I plan to make the points specifically something like 15 until I find that is too few or something :)
Thanks for the idea to draw points on a circle, that reminded me of this C++ program that did just that, just not showing the circle.