- /
-
The himalayas
on 28 Oct 2021
- 14
- 56
- 0
- 0
- 280
a=200;
b=(.5:a)'/a;
c=(-cos(b*2*pi)+1).^1.1;
d=ones(a);
f=b-.5;
r=f'.^2+f.^2;
% Asymmetric Perlin-ish noise
s=@surf;
% Make mountains
m=10;
s(b,b',abs(ifftn(exp(7i*rand(a))./r.^.9)).*(c*c')*30)
l=(m:-1:1)/m;
% Add clouds:
hold on
for n =1:m
s(b,b',d*n,d+cat(3,1,1,1),EdgeA=0,FaceA=max(.2,l(n)));
end
% Scale the image right in the window
zlim([-a/2,a])
% Pretty:
shading flat
colormap(flip([b,b,b]))
camva(5)
axis off