Author Topic: idea of demo based on rosler attractor  (Read 3654 times)

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: idea of demo based on rosler attractor
« Reply #15 on: January 15, 2018, 12:41:41 PM »
Just adding Siemanski's Smooth (for future development)  :biggrin:

@caballero:
Perhaps is other the ecuation!

caballero

  • Member
  • *****
  • Posts: 1089
    • abre ojos ensamblador
Re: idea of demo based on rosler attractor
« Reply #16 on: January 15, 2018, 07:33:54 PM »
The Rossler attractor equation (taken from wikipedia):

Quote
dx/dt = -y-z
dy/dt = x + Ay
dz/dt = B + z(x - C)

Rossler studied that with A = .2, B = .2, C = 5.7. Though since them the most common parameters studied are A = .1, B = .1, C = 14. I have checked this values too.

My code:
Code: [Select]
dt = .05, A = -.2, B = .2, C = -5.7, x = -10, y = -1, z = -1
Code: [Select]
  x += ((-(y + z)) * dt);
  y += (y*A + x) * dt;
  z += ((x-C) * z + B) * dt;

Each value taken gives different path.
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

daydreamer

  • Member
  • ****
  • Posts: 548
  • reach for the stars
Re: idea of demo based on rosler attractor
« Reply #17 on: January 15, 2018, 08:18:43 PM »
Regarding to Rossler attractor, I have been trying to make one similar to this, without much success. I got something interesting too, but not what I was looking for. If anyone has some spare time and want to dedicate to it, it is supposed that changing the values of the global variables (initial parameters) we can get different scenarios.
Take a look at ron thomas code,how he changes some starting values so it becomes periodically,that way you get the above shape
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: idea of demo based on rosler attractor
« Reply #18 on: January 16, 2018, 12:33:08 AM »
I see Thomas code. He make a perspective adding y and z axes. To see the Rossler attractor a 3D representation is needed. 

daydreamer

  • Member
  • ****
  • Posts: 548
  • reach for the stars
Re: idea of demo based on rosler attractor
« Reply #19 on: January 20, 2018, 08:00:02 PM »
would be nice to learn to get the right scaling and zoom in and out with mousewheel, but I got a working clipping, but its hard to see if its a correct rosler curve
also get it right, so I can add some trackball control so you can rotate it

1024x768 version with lot fewer particles
« Last Edit: February 04, 2018, 09:03:51 PM by daydreamer2 »
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

caballero

  • Member
  • *****
  • Posts: 1089
    • abre ojos ensamblador
Re: idea of demo based on rosler attractor
« Reply #20 on: January 20, 2018, 09:02:59 PM »
I see Thomas code. He make a perspective adding y and z axes. To see the Rossler attractor a 3D representation is needed.
?????

@daydreamer2
Your sample crashes in my system
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

caballero

  • Member
  • *****
  • Posts: 1089
    • abre ojos ensamblador
Re: idea of demo based on rosler attractor
« Reply #21 on: January 20, 2018, 10:31:03 PM »
Maybe best viewed here
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: idea of demo based on rosler attractor
« Reply #22 on: January 21, 2018, 02:49:31 AM »

daydreamer

  • Member
  • ****
  • Posts: 548
  • reach for the stars
Re: idea of demo based on rosler attractor
« Reply #23 on: January 21, 2018, 04:34:17 AM »
Maybe best viewed here
Very nice view :t
I am experimenting with fewer particles in 1680x1050 with x/z and y/z view
Unfortunatly is ddraw a dead end, but i get a tunnel effect
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

daydreamer

  • Member
  • ****
  • Posts: 548
  • reach for the stars
Re: idea of demo based on rosler attractor
« Reply #24 on: August 25, 2018, 07:30:59 PM »
maybe would be useful when making solar flare
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

caballero

  • Member
  • *****
  • Posts: 1089
    • abre ojos ensamblador
Re: idea of demo based on rosler attractor
« Reply #25 on: August 25, 2018, 09:26:18 PM »
There is an interesting attractor called Aizawa. A nice video of a demo with it. Maybe someone dares with it  :t

En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

daydreamer

  • Member
  • ****
  • Posts: 548
  • reach for the stars
Re: idea of demo based on rosler attractor
« Reply #26 on: August 25, 2018, 11:21:28 PM »
There is an interesting attractor called Aizawa. A nice video of a demo with it. Maybe someone dares with it  :t


Nice demo
Thanks caballero  :t
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

Siekmanski

  • Member
  • *****
  • Posts: 1674
Creative coders use backward thinking techniques as a strategy.

HSE

  • Member
  • ****
  • Posts: 829
  • <AMD>< 7-32>
Re: idea of demo based on rosler attractor
« Reply #28 on: August 26, 2018, 02:56:35 AM »
I have to study how to sort points because in this simple way I'm drawing hidden points over visible points  :(

daydreamer

  • Member
  • ****
  • Posts: 548
  • reach for the stars
Re: idea of demo based on rosler attractor
« Reply #29 on: August 26, 2018, 03:00:03 AM »
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*