- /
-
Alladin magic carpet
on 24 Nov 2023
- 11
- 8
- 0
- 1
- 137
drawframe(1);
Write your drawframe function below
function drawframe(f)
x=-100:1:100;
y=x;
[X,Y]=meshgrid(x,y);
Z=sin((X+f/100).^2+(Y+f/100).^2);
pcolor(X,Y,Z);
colormap(parula)
shading interp
axis('equal','square','off')
end