- /
-
Cloverleaf
on 5 Oct 2022
- 14
- 91
- 12
- 2
- 262
t= 0:pi/2048:2*pi;
x = 16*sin(t).^3;
y = 14*cos(t) - 5*cos(2*t) - 2*cos(3*t) - cos(4*t);
m = min(y);
hold on
axis equal off
for i=0:1/100:1
plot(x*i,y*i,'Color',[0,i,0])
plot(x*i,-y*i+2*m,'Color',[0,i,0])
plot(y*i-m,x*i+m,'Color',[0,i,0])
plot(-y*i+m,x*i+m,'Color',[0,i,0])
end