Logo by AGUS - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. December 01, 2025, 07:23:12 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: The "Lorenz Set"?  (Read 783 times)
0 Members and 1 Guest are viewing this topic.
Ode_to_dx
Forums Newbie
*
Posts: 2


« on: June 30, 2017, 02:30:56 AM »

Hi everyone. I have been thinking of this for some weeks so I decided to ask here.
So I coded* the Lorenz Attractor and when I spawn a particle (i.e. I set the starting conditions x,y,z and use the euler method to get the next position, eventually drawing an orbit) near the origin everything is fine.
However, when I spawn a particle too far away from the origin it seems to diverge towards infinity instead of orbiting around the two "butterfly wings".

My question is, if we kept track of all the points that don't diverge, would the resulting 3d shape be a fractal?

It makes sense since orbits are chaotic. The Mandelbrot set is created like this, except that it uses a function that tells you the next "position" of the original number or "particle" instead of a differential equation that tells you the "speed" of that particle, so the accuracy of the render will be determined by the chosen step size when numerically integrating the equations, not only how many times you iterate (in this case how many steps you take).

Finally, does this mean that other sets of differential equations can generate fractals too? I have not found examples of this on the internet so I don't know if this is a dumb idea or a new branch of fractals yet undiscovered.

*I implemented it in Scratch, a visual programming language (you drag and drop blocks), but rendering the actual thing in this browser-based program would take forever so I am learning c++ to try to render the actual thing. Anyways if someone knows a mathematical approach to determining wether or not this set of points will be a fractal or a way to code this feel free to research this topic, I lack the knowledge to make any breakthrough out of this.
Logged
HazardHarry
Forums Freshman
**
Posts: 14


« Reply #1 on: June 30, 2017, 06:46:47 AM »

I'm no expert in attractors, but I did some googling and I think what you're looking for are called "Basins of Attraction".

http://www.scholarpedia.org/article/Basin_of_attraction
"For each such attractor, its basin of attraction is the set of initial conditions leading to long-time behavior that approaches that attractor. Thus the qualitative behavior of the long-time motion of a given system can be fundamentally different depending on which basin of attraction the initial condition lies in (e.g., attractors can correspond to periodic, quasiperiodic or chaotic behaviors of different types)."

http://sprott.physics.wisc.edu/technote/tristab.htm
The examples here are only in 2D planes. I would be very interested to see their structure in 3D.
Logged
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #2 on: June 30, 2017, 08:39:12 AM »

Points should not diverge to infinity. If they do, your calculation method is too coarse.
The set of equations defines an attractor: points converge to it.
Try a Runge-Kutta method instead of Euler.

And I see no connection to fractals here...


* Lorenz_S.jpg (130.18 KB, 800x492 - viewed 67 times.)
Logged
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #3 on: June 30, 2017, 09:04:51 AM »

And I see no connection to fractals here...
If this is because points don't escape to infinity, ok.

Else, how can you see no connection to fractals?
"An attractor is called strange if it has a fractal structure" wikipedia
Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #4 on: June 30, 2017, 12:49:59 PM »

Well, we could have a long boring debate about the meaning of the word fractal, but I suggest we don't start that!
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #5 on: June 30, 2017, 03:52:07 PM »

Then start a short debate...  angel wink
Seriously it is an interesting topic because chaos is a big family afro
Logged

No sweat, guardian of wisdom!
Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #6 on: June 30, 2017, 06:18:21 PM »

Then start a short debate...  angel wink ...

Short debate?

OK...

No.

Nothing is truly Fractal since there is no firm definition for the word!

I know...

I've been saying that for years, but it's partly to encourage the effort to devise a Universally Accepted definition of Fractal so such debates can be settled.

And partly because I still believe Fractals don't exist outside of our imaginations.
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #7 on: June 30, 2017, 07:28:00 PM »

Well, we could have a long boring debate about the meaning of the word fractal, but I suggest we don't start that!



 grin wink

(but I'll be offline the next 3-4 days)
Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
vinecius
Forums Freshman
**
Posts: 15


« Reply #8 on: July 01, 2017, 07:44:24 AM »

Interesting idea, I decided to plot it with the conventional attractor on (x,y,z) using Euler's method and an escape time algorithm on (x,y) with a random z initial condition. first is 100 iterations, second 1000.  Might be some fractal like structures near the edges.  I'll play with it more, find the best parameters and zoom in on it. Interesting structure but I don't see it growing in complexity, it's a similar idea to the newton fractal.


* lzz.png (143.04 KB, 640x960 - viewed 70 times.)
« Last Edit: July 01, 2017, 08:15:38 AM by vinecius » Logged
vinecius
Forums Freshman
**
Posts: 15


« Reply #9 on: July 01, 2017, 04:15:55 PM »

So the spikes on the edges which result from a large step size with Euler's method are recursive when zoomed upon, the same spiky pattern repeats forever, much like the spirals on a madelbrot.  The solid colored bits in the middle do not grow in complexity when zoomed on.  Not terribly interesting, but "fractal" i suppose.

The plot is generated by seeing how fast it takes a point on the screen (x,y) to get to a certain distance to the center (between the attractors, not the centers of the attractors themselves, which is why you're seeing the two disembodying lobes).  All points should eventually reach the center (the transition between one attractor to the other) but black colored are those that fail to under the amount of iterations.

edit: upon closer inspection, this thing does grow with complexity, it's the same swirly sort of look but the spiked shapes seem to change when you zoom in to certain random regions.


* lzzf.jpg (237.98 KB, 640x2400 - viewed 83 times.)
« Last Edit: July 02, 2017, 07:52:49 AM by vinecius » Logged
Ode_to_dx
Forums Newbie
*
Posts: 2


« Reply #10 on: July 26, 2017, 10:56:58 PM »

Wow thanks to everyone. This is my first post in this forum and I am surprised by how quickly people replied. Sorry I was not present I have been on holidays and I thought I would get notified by email when someone replied (now I found the setting).

Points should not diverge to infinity. If they do, your calculation method is too coarse.
The set of equations defines an attractor: points converge to it.

That's right I should have realised it was because of the step size, which was pretty big due to the lack of power of Scratch.

So the spikes on the edges which result from a large step size with Euler's method are recursive when zoomed upon, the same spiky pattern repeats forever, much like the spirals on a madelbrot.  The solid colored bits in the middle do not grow in complexity when zoomed on.  Not terribly interesting, but "fractal" i suppose.

The plot is generated by seeing how fast it takes a point on the screen (x,y) to get to a certain distance to the center (between the attractors, not the centers of the attractors themselves, which is why you're seeing the two disembodying lobes).  All points should eventually reach the center (the transition between one attractor to the other) but black colored are those that fail to under the amount of iterations.

edit: upon closer inspection, this thing does grow with complexity, it's the same swirly sort of look but the spiked shapes seem to change when you zoom in to certain random regions.

Since points are not supposed to diverge, it is certainly a good idea to use a scape time algorithm, thanks for implementing it. I think what causes that "swirl" when you zoom in is sensitivity to initial conditions: as orbits go on, some of them are more "straightforward" than others, so the valleys and mountains represent the points that take the fastest and slowest (respectively) paths.
If this was the case, that would explain why you have to zoom in (at first points that are close to one another don't spread much), but if you recorded the 2nd, 3rd, etc. time that points reach the center instead of the first one, the orbits may have more time to spread and sensitivity to initial conditions would cause this differences to show up exponentially earlier (i.e. at a larger scale).
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.224 seconds with 24 queries. (Pretty URLs adds 0.012s, 2q)