project - make a star

i try to make star.
so i develop program that print to code for make star.
finally, sucess to make star.
i writing a several formula about this topic.
xMove->cos(n), yMove->sin(n) // value n is radian.
1:+x, +y, n=0
2:-x, +y, n=36
3:+x, -y, n=72
4:+x, +y, n=72
5:-x, -y, n=36
look at the pictures below.
that is result.
and you can adjust size of star.
so i develop program that print to code for make star.
finally, sucess to make star.
i writing a several formula about this topic.
xMove->cos(n), yMove->sin(n) // value n is radian.
1:+x, +y, n=0
2:-x, +y, n=36
3:+x, -y, n=72
4:+x, +y, n=72
5:-x, -y, n=36
look at the pictures below.
that is result.
and you can adjust size of star.