Anonymous user
Pentagram: Difference between revisions
→{{header|Using circle equation}}
Line 818:
each point on the circumference is 72 degrees apart,
5 points on the circles circumference are calculated and than plotted and line drawn in-between to produce pentagram
<lang
#x = r*cos(angle) + centre_x
#y = r*sin(angle) + centre_y
|