[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting / animating Clifford attractors
From: |
PhilipNienhuis |
Subject: |
Re: Plotting / animating Clifford attractors |
Date: |
Sun, 8 Sep 2019 03:03:16 -0500 (CDT) |
RT wrote
> 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)
At the bottom of that page is a description of how the plots were made, did
you read that?
Looks quite a bit more involved than a plain "plot (x, y)".
Philip
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html