• New Entry

star spin off

Alex P. on 17 Oct 2021
  • 1
  • 15
  • 2
  • 0
  • 280
% stars
x=.1;y=.2;t=1;
for i=2:1e3
a=x(i-1);
b=y(i-1);
x(i)=(-.6)+(-.4)*a+(-.4)*a^2 + (-.8)*a*b+(.7)*b+(.3)*b^(2);
y(i)=(-.4)+(.4)*a+(.5)*a^2 + (.5)*a*b+.4*b-.2*b^2;
t(i) = t(i-1) + 1;
% if i<10
%plot(x(i),y(i),'h','MarkerSize',1000/t(i),'MarkerFaceColor',[abs(a) abs(b) abs(a+b)]/20*i)
% hold on
% end
end
%colors!!
scatter(x, y, 1000./t, t,'Marker','h','MarkerFaceColor',[1 1 0]);
colormap(flipud(autumn));
axis([-2,1,-.8,.8],'off');
Remix Tree