|
From: | Doug Stewart |
Subject: | Re: Plotting / animating Clifford attractors |
Date: | Sat, 7 Sep 2019 20:53:23 -0400 |
I'm trying to plot and animate some Clifford attractors and I'm having problems with the syntax / equation. The image that is produce looks nothing like the website images and idea how I can adjust the code?
What they look like along with the equation variables
http://paulbourke.net/fractals/clifford/
Code: I'm using:
x=1;
y=1;
t= linspace (0,1000);
a = -1.24458; b = -1.25191; c = -1.815908; d = -1.90866;
x=sin(a*y.*t)+c*cos(x.*t);
y=sin(b*x.*t)+d*cos(y.*t);
plot(x,y)
----
[Prev in Thread] | Current Thread | [Next in Thread] |