Mandelbrot Set generator (source code available)
- From: David Trudgett <wpower@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 17:46:25 +1100
Hi everyone,
In case anyone is interested, I have posted to my website a snapshot
of the code I'm currently working on. The code has been developed only
for my personal use, but others may find it interesting or
useful. (Note: I don't know if this works on anything besides
CMUCL/CLX on Linux.)
http://www.zeta.org.au/~wpower/dkt/programs/fractal.lisp
fractal.lisp contains a Mandelbrot Set generator. You can zoom in by
clicking the part of the image you want to magnify. Press 'q' to close
the window.
http://www.zeta.org.au/~wpower/dkt/programs/graphics.lisp
graphics.lisp contains a few simple computer graphics algorithms (line
and circle drawing).
http://www.zeta.org.au/~wpower/dkt/programs/clx-drawing-window.lisp
clx-drawing-window.lisp contains some code for creating a simple
drawing window using CLX. The previous two packages depend on it.
http://www.zeta.org.au/~wpower/dkt/programs/utils.lisp
utils.lisp contains one or two small generic utility
functions. FLATTEN is the only one used by clx-drawing-window.
http://www.zeta.org.au/~wpower/dkt/programs/mand.lisp
mand.lisp is a quick kick-start into Mandelbrot. Assumes that CLX is
loaded.
A sample image gallery is available at:
http://www.zeta.org.au/~wpower/dkt/mandelbrot.html
Hope you find it useful. Don't expect blinding speed. No warranty as
usual. All the above links can be found on my home page also.
Cheers,
David
--
David Trudgett
http://www.zeta.org.au/~wpower/
First they ignore you,
then they laugh at you,
then they fight you,
then you win!
-- Mohandas Gandhi
.
- Prev by Date: Re: Interesting developments since "Beating the averages"?
- Next by Date: Re: setq vs setf?
- Previous by thread: Static/Dynamic typing, lessons from the field
- Next by thread: Problem getting CL-XML to work with OpenMCL
- Index(es):