Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A Common Lisp library for device-independent 3-d scene models and graphic rendering
Common Lisp
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

DE.SETF.GRAPHICS: a Common Lisp graphics library implements a native Common Lisp graphics kibrary. It provides 3d scene and geometry modeling in CLOS with rendering support for clim, clx, opengl, quickdraw, and svg.


This library has been used for research, development, and prototyping. Over the years, it has been built and probed in the following combinations

Graphics Interface
lisp implementation
Core GraphicsxlibOpen GLSVG
MCL MCL-5.2, clx_0.4:
MCL-5.2, AGL-1.2.4:
MCL-5.2, safari 4.03:
</a></td></tr> <tr><th>CCL</th> <td/> <td>CCL-1.3, OS X 4.6, clx_0.7.3:<br/><a href='./readmes/ccl-clx.png'><img src='' width='64' height='64'/></a></td> <td> </td> <td> </td></tr> <tr><th>SBCL</th> <td/> <td>SBCL-1-0-35, OS X 4.6, clx_0.7.4:<br/><a href='./readmes/sbcl-clx.png'><img src='' width='64' height='64'/></a></td> <td></td> <td> </td></tr> </table> <p>The documentation is, unfortunately, to be found in the form of files intended for Word for Macintosh, Version 4.0, only. Until that improves, consult the <a href="./tests/">tests</a> for examples.</p> <p> hosts a mailing <a href="">list</a> and a <a href="">trac</a> instance for discussions and/or reports.</p> <h2>Notes</h2> <ul> <li>angles, drawing arcs and rotating coordinate systems <ul> <li><a href="clim%20rotation%20+radians">clim</a> transform rotations and <a href="">arc angles</a> are radians.</li> <li>common graphics <a href="">arc angles</a> are degrees, </li> <li><a href="">core graphics</a> rotation is in radians. Arc perations are in radians <a href="">CGContextAddArc</a></li> <li><a href="">CLX</a> arc angles are degrees, view rotation is computed in radians. <a href="">@xfree</a></li> <li>[Java 3D] <a href="">rotations</a> are radians</li> <li><a href="">OpenGL</a> degrees</li> <li>SVG : <a href="">transforms</a> are degrees, </li> </ul></li> </ul> <p>No one of them is preeminent. The internal transformation operators are implemented in radians and converted as required as arguments to library functions. It would be possible to apply internalization/externailzation operators intrface arguments, but since the interface exposes internal levels, it&#39;s not clear where this normalization should happen. For the meantime, use radians.</p> <h2>Downloading</h2> <p>Images are in the download area for <a href="">ccl</a> and <a href="">sbcl</a> runtimes.</p> <h2>Building</h2> <p>In principle, <code></code> is built with <a href=""><code>asdf</code></a>. Once one has the sources and the <code>asdf</code> configuration in place, evaluate</p> <pre><code>(asdf:operate &#39;asdf:load-op (asdf:operate &#39;asdf:load-op </code></pre> <p>to load the respective version. The versions intend to be compatible as each implements a distinct graphics context for the respective library. Please consult the detailed instructions for the respective <a href="./readmes/">runtime</a> for more information.</p> <h2>Licensing</h2> <p>This version is released under version 3 of the GNU Affero license (GAL).[<a href="agpl.txt">5</a>] The required components are included as per the respective licenses and covered, in this combined form, under the GAL as well</p> <ul> <li>agl : unknown <ul> <li>2005 <a href="">Alexander Repenning</a></li> </ul></li> <li>closer-mop : MIT-style <ul> <li>2005 - 2010 <a href="">Pascal Costanza</a></li> </ul></li> <li>clx : TI; additional attributions undated (consult the (external.lisp)[./clx/ecternal.lisp] for the reference to the exact version <ul> <li>1987 : Texas Instruments</li> <li>1988, 1989 : Franz Inc</li> </ul></li> <li>meta : anon <ul> <li>2002 <a href="">Jochen Schmidt</a></li> </ul></li> <li>skippy : public domain <ul> <li>2005 <a href="">Zach Beane</a></li> </ul></li> </ul> <p>This library has evolved over the years under various copyrights</p> <ul> <li>Copyright 1988-1993 <a href="">james anderson</a> (lgpl) <ul> <li>19880616: the original version was written as part of a research program in design reasoning with the &quot;design tools and methods group&quot; in the department of architecture and planning, massachusetts institute of technology. the basis was mcl/object-lisp/quickdraw</li> <li>19891107: ported to clx/pcl</li> </ul></li> <li>Copyright 1993-2003 <a href="">james anderson</a> (lgpl) <ul> <li>19940528: changed element class to use standard-object classes rather than structure-class, since structures fail to initialize correctly with an extended subclass hierarchy.</li> <li>20030829: ported to mcl 5.0. introduced abstract graphics operations and opengl support, which involved optional transform processing. simplified location implementation to eliminate typed locations.</li> </ul></li> <li>Copyright 2003-2004 <a href="">james anderson</a> (lgpl) <ul> <li>ported to allegro.</li> </ul></li> <li>Copyright 2004-2009 <a href="">james anderson</a> (lgpl) <ul> <li>ported to clozure.</li> </ul></li> <li>Copyright 2010 <a href="">james anderson</a> (gal)</li> </ul> <hr> <p><img src="" alt="made with mcl" title="Made With MCL"></p>
Something went wrong with that request. Please try again.