I have made a program I created a couple months ago(December). I just opened it up again. I noticed it takes a very long time to calculate higher sided polygons(of course). What algorithm would you use?
(Mine = s += n; n += 1, looped, s being sides, and n = added to it. 4 = 2, 5 = 5, 6 = 9.
s+= n; n+= 1;
2+=3;n+=1;
5+=4;n+=1;
9+=5;n+=1....)
Thanks(by the way, if you want to see it, just ask).