Im trying to produce a five point star.... such as when you were a child! You draw the star without taking the pen off the paper...
Anyway the eqaution is:
a=5
b=3
x=(a-b)*cos(t*360)+b*cos((a-b)*t*360/b)
y=(a-b)*sin(t*360)-b*sin((a-b)*t*360/b)
z=0
But i cant seem to finalize the equation? It seems to be along the right lines.... i think the ending could be slightly wrong?
..... some where in this bit ..... ((a-b)*t*360/b)
Any ideas?
Anyway the eqaution is:
a=5
b=3
x=(a-b)*cos(t*360)+b*cos((a-b)*t*360/b)
y=(a-b)*sin(t*360)-b*sin((a-b)*t*360/b)
z=0
But i cant seem to finalize the equation? It seems to be along the right lines.... i think the ending could be slightly wrong?
..... some where in this bit ..... ((a-b)*t*360/b)
Any ideas?