Hi Dan,

Breno is working on a Collision::Util (
http://github.com/garu/Collision-Util/) module to do Collision detection. It
is still early. I will help Breno move some of the core of this module to XS
for speed later.

I am actually also interested in bringing a physics engine to Perl via some
good C libraries ( http://ode.org/) . I haven't done anything yet but if
there is interest I will be willing to start porting one.

Cheers,
Kartik Thakore

On Tue, Jan 26, 2010 at 12:32 AM, Dan Kortschak <
dan.kortsc...@adelaide.edu.au> wrote:

> Hi Kartik,
>
> I'm wanting to do some GA work with some spatial objects in Perl -
> basically some evolutionary biology research looking at group selection
> dynamics, so I need to figure out a really simple physics engine -
> basically just collision detection (no problem) and position adjustment.
> All the objects are circular for convenience. I've never done any
> physics simulations, so this is all new to me. I've done some thinking
> about it and 2 bodies is easy - any more is quite difficult and
> potentially time consuming which is a no-no for the GA.
>
> Since you've been doing lots of work on SDL, I thought you would be a
> good person to ask for advice on whether there are either good places to
> read up on this or already written modules that are reasonably light
> weight - I couldn't find anything that looked right on CPAN. I don't
> need any graphics, just positions.
>
> thanks for your time
> Dan
> --
> Dan Kortschak <dan.kortsc...@adelaide.edu.au>
>
>

Reply via email to