• Remix
  • Share
  • New Entry

on 9 Nov 2023
  • 5
  • 24
  • 3
  • 0
  • 457
drawframe(24);
Write your drawframe function below
function drawframe(f)
% Background plot
figure('Position', [100, 100, 300, 300]);
set(gca, 'color', 'w', 'YTick', [], 'XTick', []);
axis([0 2 0 2]);
axis equal;
axis off
% Checkbox background
color = [47, 126, 178]/255; % brand color
rectangle('Position', [0 0 1 1], 'Curvature', 0, 'FaceColor', color, 'EdgeColor', 'none');
rectangle('Position', [0.1 0.1 0.8 0.8], 'Curvature', [0 0], 'FaceColor', 'w', 'EdgeColor', 'none');
text(1.06, 0.50, 'Maybe', 'FontSize', 24, 'Color', color);
if f > 24
text(0.35, 0.45, '?', 'FontSize', 54, 'Color', color);
end
end
Animation
Remix Tree
Load full remix tree