:(package "http://github.com/tpapp/cl-2d/tarball/master")ASDF goes to Github, where is it redirected to the latest master tarball, and appears to work fine. If not, let me know and it will be fixed. Still, I would suggest that you use git to keep updating the libraries if you can. Thanks to Peter Mikula for reporting the missing library code.
Thursday, May 21, 2009
cl-numlib, array-operations and cl-colors migrated to Github; my packages are asdf-installable again
Looks like I goofed up when releasing cl-2d: it used a few routines which were sitting on my hard disk but not made public yet. I think I corrected that, and pushed the new versions to Github.
Also, I think I figured out how to link to tarballs on Github. Using entries like
Labels:
array-operations,
asdf-install,
cl-colors,
cl-numlib,
github,
lisp
ffa: complex numbers, license change, migration to Github
I have done a few minor updates to my FFA library. It now handles complex numbers (to be precise, arrays of
(complex simple-float)
and (complex double-float)
). Because of the extra complexity (haha), I also added some unit tests that use simple C functions to check that FFA does what it claims to do.
I have also changed the license to LLGPL (was GPL). And finally, I have migrated the library to Github. Github is proving really user-friendly and reliable, in the long run I plan to put all my libraries there.
Thanks to William Halliburton for reminding me that the previous repo was out of date.
Tuesday, May 19, 2009
announcing cl-2d
Cl-2d is a two-dimensional graph library for Common Lisp. It builds on cl-cairo2 and thus uses the Cairo library, which provides various backends, including pixel-based (eg PNG, X11) and vector-based (PDF, SVG, PS) ones. It is meant solely for 2-dimensional plotting (hence the name). Cl-2d is available from Github. The license is LLGPL.
Cl-2d is designed to be extensible instead of providing a plethora of "canned" functions - the latter of course exist, but the emphasis is on flexibility. Most plots used in scientific visualization are customized, and the purpose of this library is to make customization easy. Plotting happens on frames, which are rectangular areas. A DSL is available for splitting frames. A frame combined with a mapping from plot coordinates to Cairo coordinates is a drawing area. Functions named plot-* take a frame, set up and return a drawing area (on which you can continue drawing), while draw-* functions draw on an existing drawing area.
This library is still under development, suggestions and contributions are welcome. I mean to clear up the axes code and add contour plots soon.
See the example/ directory for a wide variety of examples. Some of the example plots, converted from PDF, are shown below.








Subscribe to:
Posts (Atom)