• Remix
  • Share
  • New Entry

on 18 Nov 2023
  • 4
  • 5
  • 0
  • 0
  • 276
drawframe(1);
Write your drawframe function below
function drawframe(f)
colormaps = {'parula', 'jet', 'summer', 'winter','spring','autumn','bone','hsv','bone','copper'};
numColormaps = numel(colormaps);
data = peaks;
randomIndex = randi(numColormaps);
currentColormap = colormaps{randomIndex};
surf(data, 'EdgeColor', 'none');
colormap(currentColormap);
axis off
end
Animation
Remix Tree