Fractals/fractint

< Fractals

Images

commons:Category:Fractals created with Fractint

Fractint parameters

Fractint image information

Image Calculation Parameters

 CORNERS=[xmin/xmax/ymin/ymax[/x3rd/y3rd]]

"Example: corners=-0.739/-0.736/0.288/0.291 Begin with these coordinates as the range of x and y coordinates, rather than the default values of (for type=mandel) -2.0/2.0/-1.5/1.5. When you specify four values (the usual case), this defines a rectangle: x- coordinates are mapped to the screen, left to right, from xmin to xmax, y-coordinates are mapped to the screen, bottom to top, from ymin to ymax. Six parameters can be used to describe any rotated or stretched parallelogram: (xmin,ymax) are the coordinates used for the top-left corner of the screen, (xmax,ymin) for the bottom-right corner, and (x3rd,y3rd) for the bottom-left. Entering just "CORNERS=" tells Fractint to use this form (the default mode) rather than CENTER-MAG (see below) when saving parameters with the [B] command."[1]

 CENTER-MAG=[Xctr/Yctr/Mag[/Xmagfactor/Rotation/Skew]]

"This is an alternative way to enter corners as a center point and a magnification that is popular with some fractal programs and publications. Entering just "CENTER-MAG=" tells Fractint to use this form rather than CORNERS (see above) when saving parameters with the [B] command. The [TAB] status display shows the "corners" in both forms. When you specify three values (the usual case), this defines a rectangle: (Xctr, Yctr) specifies the coordinates of the center of the image while Mag indicates the amount of magnification to use. Six parameters can be used to describe any rotated or stretched parallelogram: Xmagfactor tells how many times bigger the x- magnification is than the y-magnification, Rotation indicates how many degrees the image has been turned, and Skew tells how many degrees the image is leaning over. Positive angles will rotate and skew the image counter-clockwise."

Mag indicates the amount of magnification to use. Initial value ( no zoom ) is 6.66666667e-01. "If the magnification is set to 1, the range on the Y axis is +1 to -1 - this is zoomed in too much and cuts off some of the top & bottom bulbs on the Mandelbrot set. With magnification set to .666666667, the range on the Y axis is +1.5 to -1.5, which gives a view of the complete Mandelbrot set. " (Ryan Davenport )[2]


/* 
frames.c - frames for endless zoom 
http://www.nahee.com/spanky/www/fractint/loewer/frames.c
Results of Wesley Loewer's Study : 
"The C program, frames.c, was used to generate the batch file, using "frames > tmp.bat" at the command line prompt.   I put the following in my sstools.ini and then ran tmp.bat.

      batch=y
      video=f3
      sound=off
      float=y
      passes=b
      viewwindows=///128/128 
      maxiter=1000
      colors=000_HcaDhc9n<2>YGkD_HEdH76H<2>50GTWJ<2>YLZA7F<73>YQo\
      000<75>IdU111<36>igu102<14>SAi000<13>5815917105A1<14>AJ3
When I stitched them together in an animation, the last frame looks just like the first frame."

*/
 
#include <stdio.h>
#include <math.h>


main(int argc, char *argv[])
{
	int frame, frames;
	double zoom, relzoom, zoomfactor;

    zoom = 1e5; /* seems like a deep enough starting place */
	relzoom = pow(2.0, 2.5*8); /* 2**(2.5 * 8 steps/lap ) */
	frames = 100;
	zoomfactor = pow(relzoom, 1.0 / (frames - 1));
	for (frame = 0; frame < frames; frame++)
	{
		printf("fractint center-mag=0/1/%g\n", zoom);
		zoom *= zoomfactor;
	}
	return 0;
}


/* 
frames45.c - frames at 45 degree increments using autokey option 
http://www.nahee.com/spanky/www/fractint/loewer/frames45.c
Results of Wesley Loewer's Study : 
"The C file, frames45.c, generates an auto.key script to produce the whole sequence of frames via FractInt's "g" command.   
After compiling frames45.c, at the command line prompt, just enter "frames45 > auto.key".   
Then I started FractInt with:

      video=af3 
      float=y
      viewwindows=///128/128 
      passes=b 
      maxiter=5000
      autokey=play
and away it went. "
*/

#include <stdio.h>
#include <math.h>


main(int argc, char *argv[])
{
	int angle, frame, frames;
	double zoomfactor, zoom;

	frames = 100;
	zoomfactor = pow(2.0, 2.5);
	zoom = 1.0; /* looks like a good starting place */
	angle = 0;
	for (frame = 0; frame < frames; frame++)
	{
		printf(
"\"g\"\n"
"\"center-mag=0/1/%g/1.333333/%d\"\n"
"ENTER\n"
"CALCWAIT\n"
"\"s\"\n"
"CALCWAIT\n"
"\"eh..\"\n"
"ESC\n\n"

			, zoom, angle);
		zoom *= zoomfactor;
		angle = (angle + 45) % 360;
	}
	return 0;
}

fractint files

Most important files are :

map

par

"Fractint uses Parameter files[5][6] to save/restore all options and settings,[7] required to recreate particular images. The parameters required to describe an image require very little disk space, especially compared with saving the image itself. " [8]

Parameter files contain named groups of parameters, looking something like this:

    name { ; main comment 
         ....
         } 
      
    quickdraw {      ; a set of parameters named quickdraw
       maxiter=150
       float=no
       }
    slowdraw {       ; another set of parameters named slowdraw
       maxiter=2000
       float=yes
       }

These sections are called parset sections and describe a fractal equation, a view area, parameters and a color palette.[9]

For standard view of parameter plane and Mandelbrot set :

Mandel_Demo        { ; PAR for initialization of Fractint demo
  reset=1900 type=mandel corners=-2.5/1.5/-1.5/1.5 params=0/0 inside=0
  sound=no
  }

or :[10]

1_01                  { ; quite good spirals 
  reset=2000 type=mandel passes=1
  corners=-0.6014129278/-0.5990935452/0.427747516/0.429487053
  params=0/0 float=y maxiter=1000 inside=0 outside=15
  distest=1/10/320/200 
  }

1_02                  { ; stringy one, with dist estimator
  reset=2000 type=mandel passes=1
  corners=-1.9228429644992/-1.9228427944992/-6.3749991620026e-008/6.375000\
  8379971e-008 params=0/0 float=y maxiter=1000 inside=0 outside=15
  distest=1/20/320/200
  }

1_03                  { ; OK, bit dull, not zoomed in far 
  reset=2000 type=mandel passes=1
  corners=0.3734922373/0.3820837907/-0.243292645/-0.23684898
  params=0/0 float=y maxiter=1000 inside=0 outside=15
  distest=1/10/320/200
  }

1_04                  { ; a mess, needs dist est
  reset=2000 type=mandel passes=1
  corners=-1.862224008886682/-1.86222400040936/-3.214020831358832e-009/3.1\
  43970347410528e-009 params=0/0 float=y maxiter=1000 inside=0
  outside=15 distest=1/10/320/200 
  }

1_05                  { ; A twirly twiddly one 
  reset=2000 type=mandel passes=1
  corners=-0.77464016774366/-0.77463987034365/0.12426328506998/0.124263508\
  11999 params=0/0 float=y maxiter=1000 inside=0 outside=15
  distest=1/10/320/200 
  }

Parameter file for FractInt ( extension PAR) :

top-mag1500      { ; a really really deep zoom        Wesley Loewer
                   ; highly self similar
                  ; took over 1200 hours at 320x240 on a 486sx/25
                  reset=1920 type=mandel passes=b center-mag=0.0/1.0/1e+1500
                  maxiter=15000  }


Julia set :

test               {
  reset=2004 type=julia center-mag=0/0/0.6666667
  params=-0.49749687108886109/-0.0025041736227045075 float=y inside=0
  colors=@default.map
  }


To use it :

One can :


Reset causes Fractint to reset all calculation related parameters to their default values. Non-calculation parameters such as "printer=", "sound=", and "savename=" are not affected. [11]The reset=1730 in the parameter file shows that it was created with 17.3 version of Fractint. [12]


Search the code :

grep -R "par file"

result :

 miscres.c:   /* just to make par file look nicer */
 miscovl.c:               ranges which can be written as <nn> to compress .par file entry.
 printer.c:            /* user might change gammas with a .par file entry mid-run.     */


Lists

Install

References

  1. fractint Image Calculation Parameters
  2. Fractaal forum : FractInt > Mag
  3. Converting between FractInt and Fractal eXtreme palettes
  4. the KAM map by Fred Schimmel
  5. A short Introducion to PAR Files by Laurent Chabin
  6. julian haight : filmer instructions
  7. Fractint doc index
  8. Fractint par files by Rupert Russell
  9. Video for FRACTINT by Chabin Laurent
  10. Fractint .par file page
  11. fractint Image Calculation Parameters
  12. [Fractint] FOTD 27-07-11 (Bad Moon on the Rise [No Rating])
  13. Fractint deep zoom
  14. Index of /spanky/pub/fractals/params
  15. nehee par collection
  16. fracton links
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.