*x = cos(th) * (4 * sin(4 * th)); *y = sin(th) * (4 * sin(7 * th));
for(th = 0 ; th <= 1080.0 / 180.0 * 3.141592 ; th += 1.0 / 180.0 * 3.141592){
func(&x,&y,th);
x1 = xhome + MAG * x;
y1 = yhome - MAG * y;
GWline(x0,y0,x1,y1);
x0 = x1;
y0 = y1;
}