• Remix
  • Share
  • New Entry

on 26 Oct 2021
  • 2
  • 12
  • 0
  • 0
  • 259
x = rand(100000,2)*0+[0.15 0.15];
dt = 0.01;
for i=1:99999
x(i+1,:) = x(i,:) + [(rand(1)-rand(1)*x(i,2))*x(i,1) (rand(1)*x(i,1)-rand(1))*x(i,2)]*dt;
end
patch(x(:,1)-x(:,2),-x(:,2)-x(:,1),1:length(x),'edgecolor','none');
set(gcf,'color','k');
axis equal off;
colormap prism;
Image
Remix Tree