Pentagram: Difference between revisions

Content added Content deleted
Line 818: Line 818:
each point on the circumference is 72 degrees apart,
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
5 points on the circles circumference are calculated and than plotted and line drawn in-between to produce pentagram
<lang R>#Circle equation
<lang rsplus>#Circle equation
#x = r*cos(angle) + centre_x
#x = r*cos(angle) + centre_x
#y = r*sin(angle) + centre_y
#y = r*sin(angle) + centre_y