[Mandelbrot] Code Samples/Comparisons
Peter Brigham MD
pmbrig at gmail.com
Fri Dec 11 18:40:17 EST 2009
I've been fascinated by the Mandelbrot set for some years now, so this
is a welcome topic. Bill Marriott's stack got me going in the past few
days. I added colorization -- a fairly ad hoc scheme that I fine tuned
(sort of) by trial and error. I moved the controls to a palette and
separated out the calculations of the escape values from the
colorization handlers. The escape values are stored as a custom prop
so they don't have to be recalculated every time you adjust the colors
-- much easier to play with the colorization. Also, you can export the
resulting images as jpegs -- they make good screensaver shots if you
go with an 800x800 image, though those take a number of minutes to
render.
Please, someone who knows more about working in colorspaces should
come up with something better thought out, but meanwhile, it's a fun
toy anyway.... Thanks for the head start, Bill.
download my version at
http://home.comcast.net/~pmbrig/mandelRev.rev.zip
or
http://home.comcast.net/~pmbrig/MandelRev.dmg
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list