• Remix
  • Share
  • New Entry

on 17 Nov 2023
  • 17
  • 18
  • 0
  • 1
  • 271
drawframe(1);
Write your drawframe function below
function drawframe(f)
cla
x = linspace(-7,7,30);
y = linspace(-7,7,20);
z = linspace(-7,7,20);
[x,y,z] = meshgrid(x,y,z);
u = y.^3;
v = -x.^3;
w = 0*x+y+log(f+1);
[sx,sy,sz] = meshgrid([-1 0 1],[-1 0 1],-6);
streamribbon(x,y,z,u,v,w,sx,sy,sz);
shading interp
view(-30,10)
axis off tight
colormap jet
i=gcf;
i.Color='k';
end
Animation
Remix Tree