swig/Examples/GIFPlot
2006-09-29 10:09:23 +00:00
..
Chicken Rewrite chicken example and test-suite building code 2004-05-30 07:11:26 +00:00
Common-Lisp/full The great merge 2002-11-30 22:01:28 +00:00
Guile The great merge 2002-11-30 22:01:28 +00:00
Include Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
Interface Use SWIGPHP instead of SWIGPHP4 2006-09-29 10:09:23 +00:00
Java VC++ pollution 2003-02-25 22:11:44 +00:00
Lib Added CCSHARED variable. 2006-02-06 14:04:45 +00:00
Ocaml Fixed GIFPlot examples. 2004-11-03 17:14:51 +00:00
Perl5 *** empty log message *** 2006-01-30 22:58:01 +00:00
Php4 clean up more of the generated files 2006-06-02 20:48:32 +00:00
Pike VC++ pollution 2003-02-25 22:11:44 +00:00
Python *** empty log message *** 2006-01-30 22:58:01 +00:00
Ruby VC++ pollution 2003-02-25 22:11:44 +00:00
Tcl Tcl patches. Use [info sharedlibextension] to get file extension rather than hard-coding it] 2003-11-11 21:20:00 +00:00
.cvsignore Moved from Php to Php4 to fix naming kludge 2003-09-01 14:37:40 +00:00
Makefile.in Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs. 2004-02-20 22:57:23 +00:00
README Update 2004-07-23 21:49:37 +00:00

GIFPlot
=======

To illustrate various SWIG features, the following examples involve
building an interface to a small, but somewhat useful graphics library
for creating 2D and 3D images in the form of GIF files.  The Perl,
Python, Tcl, Java, Ruby etc. directories contain various examples specific to
those languages.

This library was originally developed as part of the SPaSM molecular
dynamics project at Los Alamos National Laboratory.  However, due to
patent enforcement issues related to LZW encoding and a general lack
of time on the part of the author, the library was never officially
released.  On the plus side, a number of people have found it to be a
useful easter egg within the SWIG distribution :-).

<LEGAL>
DUE TO PATENT RESTRICTIONS ON THE LZW COMPRESSION ALGORITHM, THIS
LIBRARY ONLY PRODUCES UNCOMPRESSED GIF FILES.  SO THERE.
</LEGAL>

Building the Library
====================

In order to run the examples, it is first necessary to build the GIFPlot
C library.  To do this, simply run make:

	make

Running the Examples
====================

Once the library has been built, go to your chosen language directory,
that is, Perl, Python, Tcl, Java, Ruby etc. Each example should have a
README file with a description.

Each example can be compiled using the makefile in each example directory. This
makefile uses the top level makefile in the "Examples" directory of the distribution.
If the example doesn't compile, you will need to adjust the settings in this file.

Documentation
=============

Read the source Luke.   The examples should be pretty much self-explanatory.
The header file Include/gifplot.h contains the full API.

The original documentation for the library can be found online at:

          http://islab.cs.uchicago.edu/gifplot


Let me know what you think!
===========================
If you found this example to be useful, confusing, or otherwise, I would like to know
about it.   Suggestions for improvement are welcome.

-- Dave (beazley@cs.uchicago.edu)