• Remix
  • Share
  • New Entry

on 8 Oct 2021
  • 4
  • 35
  • 0
  • 0
  • 217
N=10^5;
v=zeros(N,2);
a=30;
b=1.09;
t=linspace(0,2*pi,a);
c =[16*sin(t).^3;13*cos(t)-5*cos(2*t)-2*cos(3*t) - cos(4*t)]';
%plot(c(:,1),c(:,2),'.',markersize=20);hold on
p=[0,0];
lc=1;
for i=1:N
idx=randi(a);
s=c(idx,:);
p=p+(s-p)/b;
v(i,:)=p;
end
plot(v(:,1),v(:,2),'.',markersize=1)
axis off
Image
Remix Tree