- /
-
Script A
on 8 Oct 2024
- 9
- 72
- 0
- 0
- 1554
Cite your audio source here (if applicable):
drawframe(1);
Write your drawframe function below
function drawframe(f)
figure;
hold on;
axis off;
axis([-1 6 -6 7]);
if (f >= 1) && (f <= 16)
line([1 1.1], [5 4.5]);
line([1.1 1.7], [4.5 4.3]);
elseif (f >= 17) && (f <= 32)
line([1 1.1], [5 4.5]);
line([1.1 1.7], [4.5 4.3]);
line([1.7 2.4], [4.3 4.5]);
line([2.4 0.5], [4.5 -3]);
elseif (f >= 33) && (f <= 48)
line([1 1.1], [5 4.5]);
line([1.1 1.7], [4.5 4.3]);
line([1.7 2.4], [4.3 4.5]);
line([2.4 0.5], [4.5 -3]);
line([0.5 0.2], [-3 -3.3]);
line([0.2 -0.1], [-3.3 -3.3]);
line([-0.1 -0.4], [-3.3 -3]);
elseif (f >= 49) && (f <= 64)
line([1 1.1], [5 4.5]);
line([1.1 1.7], [4.5 4.3]);
line([1.7 2.4], [4.3 4.5]);
line([2.4 0.5], [4.5 -3]);
line([0.5 0.2], [-3 -3.3]);
line([0.2 -0.1], [-3.3 -3.3]);
line([-0.1 -0.4], [-3.3 -3]);
line([1 1], [0.8 0.3]);
line([1 2.5], [0.3 0.7]);
line([2.5 2.5], [0.7 0.2]);
elseif (f >= 65) && (f <= 80)
line([1 1.1], [5 4.5]);
line([1.1 1.7], [4.5 4.3]);
line([1.7 2.4], [4.3 4.5]);
line([2.4 0.5], [4.5 -3]);
line([0.5 0.2], [-3 -3.3]);
line([0.2 -0.1], [-3.3 -3.3]);
line([-0.1 -0.4], [-3.3 -3]);
line([1 1], [0.8 0.3]);
line([1 2.5], [0.3 0.7]);
line([2.5 2.5], [0.7 0.2]);
line([2.4 2.2], [4.5 0.6]);
line([2.2 2.3], [0.6 -3]);
line([2.3 2.4], [-3 -3.3]);
elseif (f >= 81) && (f <= 96)
line([1 1.1], [5 4.5]);
line([1.1 1.7], [4.5 4.3]);
line([1.7 2.4], [4.3 4.5]);
line([2.4 0.5], [4.5 -3]);
line([0.5 0.2], [-3 -3.3]);
line([0.2 -0.1], [-3.3 -3.3]);
line([-0.1 -0.4], [-3.3 -3]);
line([1 1], [0.8 0.3]);
line([1 2.5], [0.3 0.7]);
line([2.5 2.5], [0.7 0.2]);
line([2.4 2.2], [4.5 0.6]);
line([2.2 2.3], [0.6 -3]);
line([2.3 2.4], [-3 -3.3]);
line([2.4 2.5], [-3.3 -3.2]);
line([2.5 2.6], [-3.2 -3.1]);
line([2.6 2.7], [-3.1 -2.8]);
elseif (f == 2)
end
end
Movie
Audio
This submission does not have audio.