English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2007-05-18 (16:12)
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