- /
-
Love
on 18 Oct 2024
- 13
- 88
- 0
- 0
- 273
Cite your audio source here (if applicable):
drawframe(1);
Write your drawframe function below
% Vic Jeremy Prajogo
% Tanah mas, Semarang
% Unkartur
function drawframe(f)
h = linspace(0,2*pi,96);
a=h(f)
t = 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(t)+16*(sin(a)).^3
y1=cos(t)+14*cos(a)-5*cos(2*a)-2*cos(3*a)-cos(4*a)
plot(x,y,x1,y1,'LineWidth',5,'Color',[1 0 0])
MeshDensity=5555
axis equal
axis([-20 20 -20 15])
end