- /
-
Fairy lights
on 29 Oct 2021
- 16
- 51
- 2
- 0
- 268
colormap(flip(copper));
a=500;
d=linspace(-200,200,a);
image(255*ones(a))
hold
h=1:a;
for k=1:5
f=-(rand/4+.5)*.005*(d-120*(rand-.5)).^2+220*rand+170;
z=f(1:24:end)-260;
for j=-10:10
r=exp(-abs((d+20*j-5*(rand-.5))+(d'-z(j+11))*i)/7);
image(r,'AlphaData',rescale(r,0,1));
end
end
camva(3.8)