View Single Post
Old 1st April 2006, 15:23   #242
The Earthquaker
Member
 
The Earthquaker's Avatar
 
Join Date: Jan 2006
Location: Environment
Posts: 87
A surrealistic thing: this looks like a star.

init
n=k0*600; tpi=2*acos(-1);

point
d=k1*v+i*tpi; x=x0+pow(cos(d),3)*kx; y=y0+pow(sin(d),3)*ky;

k0, k1, kx, ky, x0, y0 are optional values, they equal to 0 (x0, y0) or 1 (k) by default;

If this is well-known, I post it for reference.
This is a bit oldschool, isn't it?
Thanks
The Earthquaker is offline   Reply With Quote