Version française
Home     About     Download     Resources     Contact us    
Browse thread
Play with my balls
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ken Rose <kenrose@n...>
Subject: Re: [Caml-list] Play with my balls
Vu Ngoc San wrote:
> Jon Harrop a écrit :
>> Real-time 2D rigid body simulation with OpenGL visualization in under
>> 400 lines of OCaml code:
>>
>>   http://www.ffconsultancy.com/ocaml/balls/
>>
>> Handles 100 balls with sub-centisecond accuracy on my machine.
>>
> very nice indeed. Note that balls can cross walls when resizing the
> window :-)

Or in my case, by just falling through them.  I'm using a 2GHz AMD64x2,
and getting about 2fps from it.  Anybody have any idea what might be
going wrong?

Thanks

 - ken