• Remix
  • Share
  • New Entry

  • KSSV

  • /
  • Zebra Crossing

on 16 Oct 2021
  • 46
  • 109
  • 3
  • 0
  • 271
l=@linspace;
m=20 ;
Bx=l(0,1,m);
By=zeros(1,m);
Tx=l(0.4,0.6,m);
Ty=ones(1,m);
X=zeros(m);
Y=X;
for i=1:m
X(:,i)=l(Bx(i),Tx(i),m);
Y(:,i)=l(By(i),Ty(i),m);
end
figure('color','k')
for i=1:2:m
x=[X(i,1) X(i+1,1) X(i+1,end) X(i,end)];
y=[Y(i,1) Y(i+1,1) Y(i+1,end) Y(i,end)];
patch(x,y,'w')
end
axis off
Image
Remix Tree
Load full remix tree