Get Adobe Flash player

Strange Attractor Finder and C4D/PY4D Particle Bench

15. September 2009 – 16:52

Tags: , , , , , , , ,

Strange Attractor Finder and C4D/PY4D Particle Bench

Strange attractors are fractals that emerge at certain, sensitive parameters within the three-or more dimensional phase space.

They are are researched since the early 70s and strongly related to the chaos theory as they allow to watch the transition from chaos to order/geometry.

Good things first: see the result and try the chaotic attractor finder!

sas

The 3D visualization of a strange attractor is quite resource intensive as points race around the attractors on chaotic trajectories – so it needs many iterations or particles to see a shape emerge from that chaos.

There are already some great flash experiments so I turned to Cinema 4D and PY4D as an advanced renderer would easily allow to raytrace and shadow the results – and to calculate even more particles of course.

This small PY4D script creates a strange attractor that Dr. Clifford Pickover had published 1990.

I managed to render a maximum of 50.000 particles with the R11 on my machine.

But with the new R11.5 release Maxon introduced render instances to C4D allowing now to calculate up to millions of particles – depending on the system.

I went with a number of 300.000 points, seeded the attractor parameters and rendered four transparent animations that could be combined to a 1.2 million particle video.

The preparation time for each frame was ~1min while PY4D took less than a second of that duration to perform five sinus/cosinus operations for each point.
Rendering itself took about five seconds per frame (CPU:Q6600).

If you are interested you can download the szenefile here.
(Remember to activate render instances in the PShape node of the XPresso tag).

Update:
The scene file has been updated to the R12.

When I learned that you can actually identify strange attractors using the Lyapunov exponent and found John Holder´s programm ‘lyapdemo.c’, I took a few minutes to port it to AS3.

You can use it to generate parameters for the PY4D script.

  1. 7 Responses to “Strange Attractor Finder and C4D/PY4D Particle Bench”

  2. hi…
    i just installed the py4d stuff, but when i start your c4d file i get a notification, like “plugin particle gemetrie is missing”, “plugin p pass is missing” and “plugin pshape is missing”.

    where do i finde these plugins?
    i have to admit: i’m not a code-r…(not yet;-))…but i’m interessted…
    skillah

    By skillah on Mar 12, 2010

  3. Hi skillah,

    obviously your C4D is missing the Thinking Particles module.

    Cheers!

    By flashgordon on Mar 12, 2010

  4. ah…allright…;-)

    so i’m going to get it…because this “strange attractor”- thing looks realy cool…

    thank you!!!

    best regards
    skillah

    By skillah on Mar 12, 2010

  5. Please post some of your results if you don´t mind :)

    Have fun with TP and PY4D!

    By flashgordon on Mar 12, 2010

  6. i would like…but actually i didn’t find out how to work with…;-(…not yet…;-)

    By skillah on Mar 15, 2010

  7. if you have any specific problems or questions just go ahead and ask ;)

    By flashgordon on Mar 15, 2010

  8. well…where to start;-)…i don’t know how to play around…

    By skillah on Mar 16, 2010

Post a Comment

Security Code: