Doesn't look like a fractal!
My recent attempts to resurrect some antique software to a reasonable purpose have come to naught. My "Fractal Programming in Turbo Pascal" produces fractals in a "PCX" format, which are readable using the same software. However I cannot read them in any other graphics program, to convert them to, say, GIF's, in spite of suggestions in this group, and the kind donation of an elderly graphics file converter which *should* have done the job. ( The "screen_restore" command renders the "PCX" files by writing pixel columns from left to right). Anyway I've abandoned this research for a while, as I have obtained a copy of "Fractal Creations" from e-Bay, and a copy of the CD from Tim, (thanks again). The great fractals obtained by FRACTINT pioneers inspired me to look again at the basic Mandelbrot and Julia sets, and I stumbled upon this one, which is a variant and a zoom into one of the pioneering efforts. To me it doesn't look at all like a fractal...until color cycling is turned "ON". Very odd, and I think a better color scheme could make it quite remarkable. John W. ---------------------------------------------------------------- fmod_zoom { ; Test of outside=fmod with 'mod' bailout ; Version 2002 Patchlevel 4 reset=2002 type=julia passes=1 corners=0.24028190305/0.24057818099/0.56447971722/0.56470192568 params=-0.7387588245570118/0.1409069307481326 float=y maxiter=120 inside=fmod proximity=0.009 outside=fmod colors=zzzG9NdR8A`D<3>q7sBD9ACY8Av<3>B34OF7`RB<3>u_L4j8xz`W_P29DLFQdMb<3\
dnH<3>ABRXHIsN9pmJ<3>wBO<2>U89WP6Ye3_v0<3>rPq<2>d2ZMAm<2>s_8<3>c7VbXYav\ `akX`_TezuEPw<3>W0c<2>uk3<2>M1QQBdVLt<2>T4khJneXqbkt<2>enngolfnjelgdjd<3\ YAv<3>3c_4bQ6aG<2>v`A<3>oiH<2>lcBj`9gWz<2>UD0T`TSyu<3>pBUlKKgU9SPLRWYPb\ kNeULiBFj4<3>VGP<2>NBFYOHIe`1wtWJ8UFWSBs<2>lKl<2>rDC<2>Aco<2>bCx<3>1oNON\ a<3>b0e<2>Z0FX16X7K<2>USy<3>ayO2zWznt<3>E3T<3>`YA<2>K7L<2>h9a<3>q39<2>3Y\ RMiEdv0<2>pFeTMb4TZ<3>zdG<2>CBnbyQ<2>M2u<2>Lmtbu8<3>17c<3>YQt<3>VIM<3>pa\ 3<2>OMIRHEUBA517KAZZJz<3>xTz<3>c62 }
John Wilson wrote:
My "Fractal Programming in Turbo Pascal" produces fractals in a "PCX" format, which are readable using the same software. However I cannot read them in any other graphics program, to convert them to, say, GIF's.....
As I suggestted on the Philofractal List last month on this topic: "If you wish to send me one of those image files in an off-list email, then I will test it against several of my graphic applications and give you a list of which worked. Then you may obtain the ones you want." If I do not find any that will work with your particular PCX format, then at least I can view the bytes of the file and see what needs to be done to make it happen. Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/
Paul, I'd like to take advantage of your offer but I can't find your off-list e-mail address! John W. ----- Original Message ----- From: "Paul N. Lee" <Paul.N.Lee@Worldnet.att.net> To: <fractint@mailman.xmission.com> Sent: Monday, November 17, 2003 12:26 PM Subject: Re: [Fractint] Doesn't look like a fractal!
John Wilson wrote:
My "Fractal Programming in Turbo Pascal" produces fractals in a "PCX" format, which are readable using the same software. However I cannot read them in any other graphics program, to convert them to, say, GIF's.....
As I suggestted on the Philofractal List last month on this topic:
"If you wish to send me one of those image files in an off-list email, then I will test it against several of my graphic applications and give you a list of which worked. Then you may obtain the ones you want."
If I do not find any that will work with your particular PCX format, then at least I can view the bytes of the file and see what needs to be done to make it happen.
Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/
_______________________________________________ Fractint mailing list Fractint@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint
John Wilson wrote:
I'd like to take advantage of your offer....
Only had time for a quick look this night, maybe more time tomorrow, but here is the preliminary analysis.... The two files you sent me do contain the PCX Identifier within the Header. They indicate a Version 3.0 format, which means that the files should be readable by: PC Paintbrush 3.0 PC Paintbrush Plus PC Paintbrush Plus for Windows Publisher's Paintbrush They are using a simple byte-wise run-length encoding (RLE) scheme. And both files are the same size in pixels: 640 x 350 (with a DPI setting as the same). The bits per pixel per plane in the image data is set to four (4), which normally means 16-color images. There supposedly are four (4) color planes that contain the image data. But this seems to be where the problem is. Usually the number of color planes is also used to determine the maximum number of colors a PCX image may have. The number of bits per pixel per plane is multiplied by the number of color panes and shifted to the left by one: MaxNumberOfColors = (1L << (BitsPerPixel * NumBitPlanes)) I modified the fourth byte from a value of hex(04) to a value of hex(01) to see the effect it would have. The following image is what opened up when I double-clicked the modified PCX file (now saved as a GIF): http://www.nahee.com/Fractals/NEWTON02.gif Do you know if that is what the image should look like?? Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/
Paul, I am thoroughly impressed by your grasp of graphics file formats. You have solved my problem overnight and, yes, the GIF that you referenced is indeed what it should be; a map of the solutions to the equation z^3-1 = 0, using Newton's method. (A Practical Fractal?) Your "fix" is to a byte which the author describes as Byte 03, ( he has a Byte 00); "No. of bits for 1 pixel from 1 plane". I can't remember why I have this underlined in the book, and with a "?" attached. However you have hit the nail on the head. I'll try modifying the TP Unit to do just that. My sincere thanks, John W. ----- Original Message ----- From: "Paul N. Lee" <Paul.N.Lee@Worldnet.att.net> To: <fractint@mailman.xmission.com> Sent: Tuesday, November 18, 2003 1:28 AM Subject: Re: [Fractint] Doesn't look like a fractal!
John Wilson wrote:
I'd like to take advantage of your offer....
Only had time for a quick look this night, maybe more time tomorrow, but here is the preliminary analysis....
The two files you sent me do contain the PCX Identifier within the Header. They indicate a Version 3.0 format, which means that the files should be readable by: PC Paintbrush 3.0 PC Paintbrush Plus PC Paintbrush Plus for Windows Publisher's Paintbrush They are using a simple byte-wise run-length encoding (RLE) scheme. And both files are the same size in pixels: 640 x 350 (with a DPI setting as the same).
The bits per pixel per plane in the image data is set to four (4), which normally means 16-color images. There supposedly are four (4) color planes that contain the image data. But this seems to be where the problem is. Usually the number of color planes is also used to determine the maximum number of colors a PCX image may have. The number of bits per pixel per plane is multiplied by the number of color panes and shifted to the left by one: MaxNumberOfColors = (1L << (BitsPerPixel * NumBitPlanes))
I modified the fourth byte from a value of hex(04) to a value of hex(01) to see the effect it would have. The following image is what opened up when I double-clicked the modified PCX file (now saved as a GIF): http://www.nahee.com/Fractals/NEWTON02.gif
Do you know if that is what the image should look like??
Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/
_______________________________________________ Fractint mailing list Fractint@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint
John Wilson wrote:
I am thoroughly impressed by your grasp of graphics file formats. You have solved my problem overnight and, yes, the GIF that you referenced is indeed what it should be; a map of the solutions to the equation z^3-1 = 0, using Newton's method. (A Practical Fractal?)
Glad to here it was the same image my graphics application opened up.
Your "fix" is to a byte which the author describes as Byte 03, ( he has a Byte 00); "No. of bits for 1 pixel from 1 plane".
I should have specified I was counting physically relative 1 as opposed to the normal programming reference to relative 0.
I can't remember why I have this underlined in the book, and with a "?" attached. However you have hit the nail on the head. I'll try modifying the TP Unit to do just that.
Once upon a time, the 'NumBitPlanes', used in conjunction with the 'BitsPerPixel' (within a PCX file format), determined the proper video mode in which to display the image. The PCX video display modes are shown as follows: Color Bits per Pixel Maximum Number Planes per Plane of Colors Video Mode ---------------------------------------------------------------------- 1 1 2 Monochrome 1 2 4 CGA 3 1 8 EGA 4 1 16 EGA and VGA 1 8 256 Extended VGA 3 8 16,777,216 Extended VGA and XGA
My sincere thanks,
You are more than welcome!! :-) Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/
Here are 4 Mandelbrotmix4 midgets for you: frm:MandelbrotMix4 {; Jim Muth a=real(p1), b=imag(p1), d=real(p2), f=imag(p2), g=1/f, h=1/d, j=1/(f-b), z=(-a*b*g*h)^j, k=real(p3)+1, l=imag(p3)+100, c=fn1(pixel): z=k*((a*(z^b))+(d*(z^f)))+c, |z| < l } 61104023 { ; Mandel in the Jungle ; t= 0:27:16.84 on a P4 2Gh at ; 1600x1200 Image Copyright 2003 ; by Lee H. Skinner ver=2002 ; Version 2002 Patchlevel 5 reset=2002 type=formula formulafile=fractint.frm formulaname=mandelbrotmix4 function=recip passes=1 center-mag=-0.07936380036521261/-0.06380710162396437/\ 6.171011e+011/1/64.9998808102851484/0.000522471885085\ 133703 params=-1/1.1/11/-1.11/0/525 float=y maxiter=1800 inside=0 outside=summ logmap=312 symmetry=none periodicity=10 colors=000u1mt1ns1or2q<2>v2u<3>c5eZ6`U6X<2>F9LAAG7FO4\ KW0Qc<3>5Xc6Zc7`c7aa7c_7eY<3>FcgHciJbl<3>S_v<3>civflv\ invlqvotvsww<2>zzz<3>rwzovzhsw<3>Gch8_d8Xa<3>8JP8FL8C\ I<4>XCAaB9fB7<3>zA0<13>SA1QA1NA1<3>D92<6>UXAW`BYcC<3>\ hrI<3>UnXRm_NlcJkgFfpAaz<3>PJoSFlWAi_5fc0ce7_<3>zb0<2\
zz1zzC<2>zzz<3>jqdfo_blU<3>Mb8<3>LQ8KM8KJ8<2>I88H44G\ 00<3>TA5WD6ZF7aI8eLAhMBiODjQF<3>qeBriAtm9vq8xu7zz5zz4\ zz3<8>zY4zV5zS5<3>zE6wE6tD6<11>x8Rx7Sx7Uy6Wy6Yz5_<27>\ y1gy1gy1gy1hy1hy1hx0iw0jv1l }
61104027 { ; Mandel Kite ; t= 0:04:18.42 on a P4 2Gh at ; 1600x1200 Image Copyright 2003 ; by Lee H. Skinner ver=2002 ; Version 2002 Patchlevel 5 reset=2002 type=formula formulafile=fractint.frm formulaname=mandelbrotmix4 function=recip passes=1 center-mag=-0.07779351809616825/-0.04467962032978866/\ 3082.536/1/125.000000000000767/6.74661715382995908e-0\ 13 params=-1/1.1/11/-1.11/0/525 float=y maxiter=1800 inside=0 outside=summ logmap=11 symmetry=none periodicity=10 cyclerange=2/254 colors=000FdzSFlWAi_5fc0ce7_<3>zb0<2>zz1zzC<2>zzz<3>j\ qdfo_blU<3>Mb8<3>LQ8KM8KJ8<2>I88H44G00<3>TA5WD6ZF7aI8\ eLAhMBiODjQF<3>qeBriAtm9vq8xu7zz5zz4zz3<8>zY4zV5zS5<3\
zE6wE6tD6<10>w8Px8Rx7S<3>z5_<3>f5Ma5IW4E<2>_4H<3>P3D\ N2CK2A<3>805G0BO0G<3>g0Ul0Xq0`v0d<2>y0fz0gy0hv1l<2>s1\ or2qs2rt2tv2u<3>c5eZ6`U6X<2>F9LAAG7FO4KW0Qc<3>5Xc6Zc7\ `c7aa7c_7eY<3>FcgHciJbl<3>S_v<3>civflvinvlqvotvsww<2>\ zzz<3>rwzovzhsw<3>Gch8_d8Xa<3>8JP8FL8CI<4>XCAaB9fB7<3\ zA0<13>SA1QA1NA1<3>D92<6>UXAW`BYcC<3>hrI<3>UnXRm_Nlc\ JkgFfpAaz<3>PJox0i }
61104042 { ; Crab Claws Mandel ; t= 0:16:06.91 on a P4 2Gh at ; 1600x1200 Image Copyright 2003 ; by Lee H. Skinner ver=2002 ; Version 2002 Patchlevel 5 reset=2002 type=formula formulafile=fractint.frm formulaname=mandelbrotmix4 function=recip passes=1 center-mag=+0.03158571255894448/-0.05888418216595667/\ 1.001894e+009/1/-90/-1.23373533611470521e-014 params=-1/1.1/11/-1.11/0/525 float=y maxiter=1800 inside=0 outside=summ logmap=136 symmetry=none periodicity=10 colors=000yy0yy0yy0zz0<16>zZ0zX0zW0<3>yO1yM1yK1zI1<3>\ zN1zO1yO1<11>mH1lG1kG1<3>gD1<3>Q91L82L03<3>I66H77G98D\ B9EBA<3>L6CM5CO3DQ2DS0EN6JHDOHGQHKS<3>`O`ePbjQe<4>ZVn\ XWpUXr<2>N_xK`zKaz<3>IdzHezGfzGfz<3>cfz<3>oszswztrevl\ Lxf0<11>QY8NX8KW9<3>8TC<3>DP8FO7HL7JI6<3>jA5l95n86p77\ q77<3>x3Az1Bz2Dz2Gz3I<2>x3Ow4Qu4T<3>p5ao6cn6el7hl8km8\ m<35>ul7um6vn4vo3vp2wr0<41>yy0 } 61104051 { ; Wreath Mandel ; t= 0:16:55.39 on a P4 2Gh at ; 1600x1200 Image Copyright 2003 ; by Lee H. Skinner ver=2002 ; Version 2002 Patchlevel 5 reset=2002 type=formula formulafile=fractint.frm formulaname=mandelbrotmix4 function=recip passes=1 center-mag=-0.08193942371416559/-0.07306039215291683/\ 3.285519e+009/1/22.4999989318018514/3.885780586188047\ 89e-016 params=-1/1.1/11/-1.11/0/525 float=y maxiter=1800 inside=0 outside=summ logmap=179 symmetry=none periodicity=10 colors=000XCA<3>pB4uB2zA0<4>nA0kA0iA0<3>_A1FA1VA1<3>L\ A1IA1GA1D92<6>UXAW`BYcC<3>hrI<3>UnXRm_NlcJkgFfpAaz<3>\ PJoSFlWAi_5fc0ce7_<3>zb0<2>zz1zzC<2>zzz<3>jqdfo_blU<3\
Mb8<3>LQ8KM8KJ8<2>I88H44G00<3>TA5WD6ZF7aI8eLAhMBiODj\ QF<3>qeBriAtm9vq8xu7zz5zz4zz3<8>zY4zV5zS5<3>zE6wE6tD6\ <9>w9Nw8Px8R<2>y6Wy6Yy6Y<13>wEawFawFa<42>rlwrmxrnxroy\ <2>qpzqpzqpy<8>opwnpwnpvnpvnpvmpulqvotvsww<2>zzz<3>rw\ zovzhsw<3>Gch8_d8Xa<5>8CI<3>SCC }
participants (3)
-
John Wilson -
Lee H. Skinner -
Paul N. Lee