- /
-
the mountains are calling
on 11 Oct 2021
- 81
- 135
- 2
- 0
- 279
c=1200;
d=700;
n=800;
m=.8;
hold;
for i=8:-1:1
y=i/(8+3)*d;
a=160*m^(i-1);
u=c*(1-(i-1)/8);
x=linspace(0,c,n);
p=y/d*4*pi;
t=x*2*pi/u;
q=sin(p+t)+sin(p+.3*t);
r=y+q*a+cumsum(sqrt(.4*a)*randn(1,n));+3.2^(i-1);
v=[
x' r';
c 0;
0 0];
fill(v(:,1),v(:,2),i/8*[216 171 100]/255,'EdgeColor','none');
end
axis off;
ylim([0,n])