It's not just the palette, it's the sum(EXP(distance)) smoothing. Here's an image of the lightning with and without smoothing:
The smoothing can be turned off in the .hf2 file, if the speed advantage is absolutely necessary.
As for incorporating it into another project, the fact that it uses no media or plugins (except for the .hf2 file) means that it can be called like this:
OPEN TO WRITE 1,"file.hf2"
write string 1,"Description The mandelbrot Set"
write string 1,"algorithm = fractal"
write string 1,"colours = 20"
write string 1,"<palette>"
write string 1,"id = 0 , red = 0 , green = 0 , blue = 0"
write string 1,"id = 1 , red = 0 , green = 0 , blue = 64"
write string 1,"id = 2 , red = 0 , green = 0 , blue = 128"
write string 1,"id = 3 , red = 0 , green = 0 , blue = 192"
write string 1,"id = 4 , red = 0 , green = 0 , blue = 255"
write string 1,"id = 5 , red = 32, green = 32, blue = 255"
write string 1,"id = 6 , red = 64, green = 64, blue = 255"
write string 1,"id = 7 , red = 96, green = 96, blue = 255"
write string 1,"id = 8 , red = 160, green = 160, blue = 255"
write string 1,"id = 9 , red = 224, green = 224, blue = 255"
write string 1,"id = 10 , red = 255, green = 255, blue = 255"
write string 1,"id = 19 , red = 0 , green = 0 , blue = 64"
write string 1,"id = 18 , red = 0 , green = 0 , blue = 128"
write string 1,"id = 17 , red = 0 , green = 0 , blue = 192"
write string 1,"id = 16 , red = 0 , green = 0 , blue = 255"
write string 1,"id = 15 , red = 32, green = 32, blue = 255"
write string 1,"id = 14 , red = 64, green = 64, blue = 255"
write string 1,"id = 13 , red = 96, green = 96, blue = 255"
write string 1,"id = 12 , red = 160, green = 160, blue = 255"
write string 1,"id = 11 , red = 224, green = 224, blue = 255"
write string 1,"</palette>"
write string 1,"width = 400 , height = 400 , centrex = 0 , centrey = 0 , zoom = 100.0"
write string 1,"juliax = 0 , juliay = 0 , mandelbrotx = 1 , mandelbroty = 1 , power = 2"
write string 1,"maxiters = 20 , abort = 1"
CLOSE FILE 1
EXECUTE FILE "hypfrac2.exe",CHR$(34)+"file.hf2"+CHR$(34),""
Do
IF file exist("file1.bmp") then exit
IF inkey$()="X" then exit
Loop
delete file "file.hf2"
LOAD IMAGE "file1.bmp",1,1
delete file "file1.bmp"
paste image 1,0,0
wait key
end
This means that hyperfractals could be used in your own DBPro projects, and would only require about 2MB of space.
The optomist's right, The pessimist's right.