- /
-
sheet music
on 20 Nov 2023
- 23
- 42
- 0
- 2
- 216
%inspired by 2021 mini hack contest: https://www.mathworks.com/matlabcentral/communitycontests/contests/4/entries/9498
function drawframe(f)
fig = figure();
hold on;
x=[zeros(1,20) 0.1:0.1:6*pi pi*ones(1,50)];
y=sin(x).*sin(x/6);
for k=1:5
plot(y+1+k/2,'k');
hold on
end
axis([0 numel(y) -9 9],'off')
ht=text(-192+f*3.5,3,'♪♩ ♫♪ ♪♩ ♫♪ ♪♩ ♫♪ ','Col','k','FontSi',28)
end