POV-Ray : Newsgroups : povray.off-topic : Still random : Re: Still random Server Time
29 Sep 2024 17:22:02 EDT (-0400)
  Re: Still random  
From: scott
Date: 7 May 2009 08:05:52
Message: <4a02cea0@news.povray.org>
>> I wonder how fast it would be in C++ :-)
>
> Go ahead, knock yourself out. ;-)
>
>> Are the three attractors just applying a 1/r^2 force on each particle?
>
> Nope. Currently just 1/r for the "magnets", plus an r force for "gravity".
>
>> What resolution are you running this at?  "a few thousand" sounds like 
>> 64x64 or something.
>
> It's 1,728 x 972 pixels. (And one particle per pixel, obviously.)

OK so I quickly modified my existing RK4 code to do integration steps on 
1728*972 particles in 2D with 4x 1/r attractors.  So it takes about 2.5 
seconds per integration step, does this compare with your results?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.