• Remix
  • Share
  • New Entry

on 27 Nov 2023
  • 29
  • 130
  • 4
  • 1
  • 123
drawframe(1);
Write your drawframe function below
function drawframe(f)
persistent C h i n
if f == 1
n = 48;
C = rand(n);
h = pcolor(C);
i = 1:n^2;
end
h.CData(mod(i+1,n^2)+1) = h.CData(mod(i,n^2)+1);
i = i+1;
end
Animation
Remix Tree
Load full remix tree