- /
-
An Ode to Colour
on 22 Oct 2022
- 8
- 41
- 0
- 1
- 258
M=90000;
N=300;
c=.5+.15.*randn(1,M);
g=linspace(0,pi,M);
[x,y]=meshgrid(linspace(-2,1,N),linspace(-2,1,N));
z=x+cos(y);
a=cos(g).^2;
b=sin(g);
d=reshape([a;b;c],[N,N,3]);
d(:,:,1)=d(:,:,1)+x;
d(:,:,2)=d(:,:,2)'+z;
d(:,:,3)=d(:,:,3)+y;
fh=figure();
fh.WindowState='maximized';
imshow(d)