News for hackers. Stuff that matters.
Re:Land of Lisp: Learn to Program in Lisp, One Game at a Time by zoba on Thursday September 24, 2009 @03:34PM (#841985)
I tried for a while (unsuccessfully) to get any sort of graphics working with Lisp. Do any of the games in here use graphics? I feel like some really awesome "math art" could be made with Lisp.
Re:Land of Lisp: Learn to Program in Lisp, One Game at a Time by aerique on Thursday September 24, 2009 @04:28PM (#842099)
You should check out lispbuilder-sdl or RLX. (I'm also working on CL bindings to Ogre but they're not really ready for public consumption.)
Re:Land of Lisp: Learn to Program in Lisp, One Game at a Time by justinhj on Thursday September 24, 2009 @04:41PM (#842135)
lispbuilder-sdl is fairly mature to the point that it even has a user manual

http://code.google.com/p/lispbuilder/wiki/UsingLispbuilderSD...

Re:Land of Lisp: Learn to Program in Lisp, One Game at a Time by cesare on Thursday September 24, 2009 @06:40PM (#842402)
SVG is XML-based and it's very easy to output graphics from your code from any programming language. There's a cl-svg library (http://code.google.com/p/cl-svg/) but I haven't tried it. There's also cl-cairo2 (http://www.cliki.net/cl-cairo2) which is based on the cairo library.

For realtime 3d graphics there's cl-opengl (http://common-lisp.net/project/cl-opengl/). I'm using it right now with sbcl and the glut wrapper (cl-glut). It comes with some examples too.

Re:Land of Lisp: Learn to Program in Lisp, One Game at a Time by createuniverses on Thursday September 24, 2009 @07:21PM (#842468)
If you use an embedded lisp such as ECL or PLT Scheme, you can take advantage of whatever graphics facilities the host offers, and code in lisp with a "live" repl.

This project might get you started:

http://createuniverses.blogspot.com/2009/09/qtimagine-skelet...

Re:Land of Lisp: Learn to Program in Lisp, One Game at a Time by drcode on Thursday September 24, 2009 @05:03PM (#842188)
Yes- I render out graphics to SVG and graphviz and do stuff to interact with a web browser to display it.