• Remix
  • Share
  • New Entry

  • Simon Thor

  • /
  • 2D Lorentz attractor in 104 characters

on 14 Oct 2022
  • 2
  • 17
  • 0
  • 0
  • 104
d=.01;
x=1;
y=1;
z=0;
hold;
Current plot held
for q=0:1e4
i=x;
j=y;
x=x+10*(y-x)*d;
y=y+(28*x-y-x*z)*d;
z=z+(x*y-2.5*z)*d;
plot([i x],[j y]);
end
Image
Remix Tree
Load full remix tree