- /
-
Love Parametric Equation
on 16 Oct 2024
- 11
- 143
- 0
- 0
- 293
Cite your audio source here (if applicable):
drawframe(1);
Write your drawframe function below
function drawframe(f)
h = linspace(0,2*pi,96);
a=h(f)
t = linspace(0,a);
t1 = linspace(0,2*pi);
x=16*(sin(t)).^3
y=14*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t)
x1=sin(t1)+16*(sin(a)).^3
y1=cos(t1)+14*cos(a)-5*cos(2*a)-2*cos(3*a)-cos(4*a)
plot(x,y,x1,y1,'LineWidth',8,'Color',[1 0 0])
MeshDensity=5555
axis equal
axis([-20 20 -20 15])
end