Hi,

Using your advices, and thank to #lisp people, I finally succeeded a
small lisp demo using the LispBuilder bindings of SDL, SDL-image, and
SDL-ttf.

It's really simple, just a bunch of particles flying all over the
screen, plus a bit of text rendering.

My lisp code is of course unperfect; do not hesitate to signal me any
error or crappy code.

All was tested with sbcl.

Demo: http://codemore.org/files/other/particles.tgz
Screenshot: http://codemore.org/wp-content/uploads/2007/10/particles.png

Bench result:

---------------------------------------------------------------------
Athlon X2 3800+ 2GHz

sbcl 1.0.10
lispbuilder-sdl 0.9.0
lispbuilder-sdl-image 0.4.0
lispbuilder-sdl-ttf 0.2.0

sdl-doublebuf sdl-hw-surface
640x480

Particles   Framerate
---------------------
   0           435 
  10           338 
  50           175 
 100           110 
 250            52  
 500            28  
1000            15  
2500             6
---------------------------------------------------------------------

I enjoyed writing it, so I think I'm going to stay on the Lisp way to
enlightenment :)

Regards,

-- 
Nicolas Martyanoff
   http://codemore.org
   [EMAIL PROTECTED]
_______________________________________________
Gardeners mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/gardeners

Reply via email to