• Remix
  • Share
  • New Entry

  • Jr

  • /
  • resolution = frame x frame

on 24 Nov 2023
  • 15
  • 10
  • 0
  • 0
  • 133
drawframe(1);
Write your drawframe function below
function drawframe(f)
image = zeros(f,f);
for ii = 1:f
for jj = 1:f
if mod(ii,1) == 0
if mod(jj,1) == 0
image(ii,jj) = 1 - (ii+jj)/(2*f);
end
end
end
end
imshow(image)
end
Animation
Remix Tree