• Remix
  • Share
  • New Entry

on 18 Oct 2021
  • 7
  • 18
  • 1
  • 0
  • 280
q=256;
a=zeros(q);
b=a;
z=@()randi(q);
for i=1:.01:3
[X,Y]=meshgrid(linspace(i,10+i,q),linspace(1,20,q));
I=0.6*cos(Y*2); %I=sin(X)+cos(Y);
[b,a] = r(a,b);
imshow(I+1.5*a, 'Colormap',winter);
if (z()<20)
b(z(),z())=rand()*20+9 ;
end
drawnow;
end
function [o,u]=r(o,u)
m = [0,1,0;1,0,1;0,1,0];
t=filter2(m,o)/2-u;
u = t-t/128;
end
Image
Remix Tree