home *** CD-ROM | disk | FTP | other *** search
/ Fractal Creations (Second Edition) / FRACTALS_2E.iso / frasrc.exe / HELP2.SRC < prev    next >
Text File  |  1993-08-21  |  119KB  |  2,725 lines

  1. ~Topic=Summary of Fractal Types, Label=HELPFRACTALS
  2. ~Format-
  3. ~Doc-
  4. For detailed descriptions, select a hot-link below, see {Fractal Types},
  5. or use <F2> from the fractal type selection screen.
  6. ~Doc+,Online-
  7. SUMMARY OF FRACTAL TYPES
  8. ~Online+
  9. ~CompressSpaces-
  10. ;
  11. ; Note that prompts.c pulls formulas out of the following for <Z> screen,
  12. ; using the HF_xxx labels.  It assumes a rigid formatting structure for
  13. ; the formulas:
  14. ;    4 leading blanks (which get stripped on <Z> screen)
  15. ;    lines no wider than 76 characters (not counting initial 4 spaces)
  16. ;    formula ends at any of:
  17. ;    blank line
  18. ;    line which begins in column 1
  19. ;    format ctl char (~xxx, {xxx}, \x)
  20. ;
  21.  
  22. {=HT_BARNS barnsleyj1}
  23. ~Label=HF_BARNSJ1
  24.       z(0) = pixel;
  25.       z(n+1) = (z-1)*c if real(z) >= 0, else
  26.       z(n+1) = (z+1)*c
  27.     Two parameters: real and imaginary parts of c
  28. {=HT_BARNS barnsleyj2}
  29. ~Label=HF_BARNSJ2
  30.       z(0) = pixel;
  31.       if real(z(n)) * imag(c) + real(c) * imag(z((n)) >= 0
  32.      z(n+1) = (z(n)-1)*c
  33.       else
  34.      z(n+1) = (z(n)+1)*c
  35.     Two parameters: real and imaginary parts of c
  36. {=HT_BARNS barnsleyj3}
  37. ~Label=HF_BARNSJ3
  38.       z(0) = pixel;
  39.       if real(z(n) > 0 then z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1)
  40.      + i * (2*real(z((n)) * imag(z((n))) else
  41.       z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1 + real(c) * real(z(n))
  42.          + i * (2*real(z((n)) * imag(z((n)) + imag(c) * real(z(n))
  43.     Two parameters: real and imaginary parts of c.
  44. ~OnlineFF
  45. {=HT_BARNS barnsleym1}
  46. ~Label=HF_BARNSM1
  47.       z(0) = c = pixel;
  48.       if real(z) >= 0 then
  49.     z(n+1) = (z-1)*c
  50.       else
  51.     z(n+1) = (z+1)*c.
  52.     Parameters are perturbations of z(0)
  53. {=HT_BARNS barnsleym2}
  54. ~Label=HF_BARNSM2
  55.       z(0) = c = pixel;
  56.       if real(z)*imag(c) + real(c)*imag(z) >= 0
  57.     z(n+1) = (z-1)*c
  58.       else
  59.     z(n+1) = (z+1)*c
  60.     Parameters are perturbations of z(0)
  61. {=HT_BARNS barnsleym3}
  62. ~Label=HF_BARNSM3
  63.       z(0) = c = pixel;
  64.       if real(z(n) > 0 then z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1)
  65.      + i * (2*real(z((n)) * imag(z((n))) else
  66.       z(n+1) = (real(z(n))^2 - imag(z(n))^2 - 1 + real(c) * real(z(n))
  67.      + i * (2*real(z((n)) * imag(z((n)) + imag(c) * real(z(n))
  68.     Parameters are perturbations of z(0)
  69. ~OnlineFF
  70.  
  71. {=HT_BIF bifurcation}
  72. ~Label=HF_BIFURCATION
  73.     Pictorial representation of a population growth model.
  74.       Let P = new population, p = oldpopulation, r = growth rate
  75.       The model is: P = p + r*fn(p)*(1-fn(p)).
  76.     Three parameters: Filter Cycles, Seed Population, and Function.
  77. {=HT_BIF bif+sinpi}
  78. ~Label=HF_BIFPLUSSINPI
  79.     Bifurcation variation: model is: P = p + r*fn(PI*p).
  80.     Three parameters: Filter Cycles, Seed Population, and Function.
  81. {=HT_BIF bif=sinpi}
  82. ~Label=HF_BIFEQSINPI
  83.     Bifurcation variation: model is: P = r*fn(PI*p).
  84.     Three parameters: Filter Cycles, Seed Population, and Function.
  85. {=HT_BIF biflambda}
  86. ~Label=HF_BIFLAMBDA
  87.     Bifurcation variation: model is: P = r*fn(p)*(1-fn(p)).
  88.     Three parameters: Filter Cycles, Seed Population, and Function.
  89. {=HT_BIF bifstewart}
  90. ~Label=HF_BIFSTEWART
  91.     Bifurcation variation: model is: P = (r*fn(p)*fn(p)) - 1.
  92.     Three parameters: Filter Cycles, Seed Population, and Function.
  93. {=HT_BIF bifmay}
  94. ~Label=HF_BIFMAY
  95.     Bifurcation variation: model is: P = r*p / ((1+p)^beta).
  96.     Three parameters: Filter Cycles, Seed Population, and Beta.
  97. ~OnlineFF
  98.  
  99. {=HT_CELLULAR cellular}
  100. ~Label=HF_CELLULAR
  101.     One-dimensional cellular automata or line automata.  The type of CA
  102.     is given by kr, where k is the number of different states of the
  103.     automata and r is the radius of the neighborhood.  The next generation
  104.     is determined by the sum of the neighborhood and the specified rule.
  105.     Four parameters: Initial String, Rule, Type, and Starting Row Number.
  106.     For Type = 21, 31, 41, 51, 61, 22, 32, 42, 23, 33, 24, 25, 26, 27
  107.         Rule =  4,  7, 10, 13, 16,  6, 11, 16,  8, 15, 10, 12, 14, 16 digits
  108.  
  109. {=HT_CIRCLE circle}
  110. ~Label=HF_CIRCLE
  111.     Circle pattern by John Connett
  112.       x + iy = pixel
  113.       z = a*(x^2 + y^2)
  114.       c = integer part of z
  115.       color = c modulo(number of colors)
  116.  
  117. {=HT_MARKS cmplxmarksjul}
  118. ~Label=HF_CMPLXMARKSJUL
  119.     A generalization of the marksjulia fractal.
  120.       z(0) = pixel;
  121.       z(n+1) = (c^exp)*z(n)^2 + c.
  122.     Four parameters: real and imaginary parts of c and exp.
  123. ~OnlineFF
  124.  
  125. {=HT_MARKS cmplxmarksmand}
  126. ~Label=HF_CMPLXMARKSMAND
  127.     A generalization of the marksmandel fractal.
  128.       z(0) = c = pixel;
  129.       z(n+1) = (c^exp)*z(n)^2 + c.
  130.     Four parameters: real and imaginary parts of
  131.     perturbation of z(0) and exp.
  132.  
  133. {=HT_NEWTCMPLX complexnewton\, complexbasin}
  134. ~Label=HF_COMPLEXNEWT
  135.     Newton fractal types extended to complex degrees. Complexnewton
  136.     colors pixels according to the number of iterations required to
  137.     escape to a root. Complexbasin colors pixels according to which
  138.     root captures the orbit. The equation is based on the newton
  139.     formula for solving the equation z^p = r
  140.       z(0) = pixel;
  141.       z(n+1) = ((p - 1) * z(n)^p + r)/(p * z(n)^(p - 1)).
  142.     Four parameters: real & imaginary parts of degree p and root r
  143.  
  144. {=HT_DIFFUS diffusion}
  145. ~Label=HF_DIFFUS
  146.     Diffusion Limited Aggregation.  Randomly moving points
  147.     accumulate.  Two parameters: border width (default 10), type
  148. ~OnlineFF
  149.  
  150. {=HT_DYNAM dynamic}
  151. ~Label=HF_DYNAM
  152.     Time-discrete dynamic system.
  153.       x(0) = y(0) = start position.
  154.       y(n+1) = y(n) + f( x(n) )
  155.       x(n+1) = x(n) - f( y(n) )
  156.       f(k) = sin(k + a*fn1(b*k))
  157.     For implicit Euler approximation: x(n+1) = x(n) - f( y(n+1) )
  158.     Five parameters: start position step, dt, a, b, and the function fn1.
  159.  
  160. {=HT_SCOTSKIN fn+fn(pix)}
  161. ~Label=HF_FNPLUSFNPIX
  162.       c = z(0) = pixel;
  163.       z(n+1) = fn1(z) + p*fn2(c)
  164.     Six parameters: real and imaginary parts of the perturbation
  165.     of z(0) and factor p, and the functions fn1, and fn2.
  166.  
  167. {=HT_SCOTSKIN fn(z*z)}
  168. ~Label=HF_FNZTIMESZ
  169.       z(0) = pixel;
  170.       z(n+1) = fn(z(n)*z(n))
  171.     One parameter: the function fn.
  172. ~OnlineFF
  173.  
  174. {=HT_SCOTSKIN fn*fn}
  175. ~Label=HF_FNTIMESFN
  176.       z(0) = pixel; z(n+1) = fn1(n)*fn2(n)
  177.     Two parameters: the functions fn1 and fn2.
  178.  
  179. {=HT_SCOTSKIN fn*z+z}
  180. ~Label=HF_FNXZPLUSZ
  181.       z(0) = pixel; z(n+1) = p1*fn(z(n))*z(n) + p2*z(n)
  182.     Five parameters: the real and imaginary components of
  183.     p1 and p2, and the function fn.
  184.  
  185. {=HT_SCOTSKIN fn+fn}
  186. ~Label=HF_FNPLUSFN
  187.       z(0) = pixel;
  188.       z(n+1) = p1*fn1(z(n))+p2*fn2(z(n))
  189.     Six parameters: The real and imaginary components of
  190.     p1 and p2, and the functions fn1 and fn2.
  191.  
  192. {=HT_FORMULA formula}
  193.     Formula interpreter - write your own formulas as text files!
  194. ~OnlineFF
  195.  
  196. {=HT_FROTH frothybasin}
  197. ~Label=HF_FROTH
  198.     Pixel color is determined by which attractor captures the orbit.  The
  199.     shade of color is determined by the number of iterations required to
  200.     capture the orbit.
  201.       z(0) = pixel;  z(n+1) = z(n)^2 - c*conj(z(n))
  202.       where c = 1 + ai,  and  a = 1.02871376822...
  203.  
  204. {=HT_GINGER gingerbread}
  205. ~Label=HF_GINGER
  206.     Orbit in two dimensions defined by:
  207.       x(n+1) = 1 - y(n) + |x(n)|
  208.       y(n+1) = x(n)
  209.     Two parameters: initial values of x(0) and y(0).
  210.  
  211. {=HT_HALLEY halley}
  212. ~Label=HF_HALLEY
  213.       Halley map for the function: F = z(z^a - 1) = 0
  214.       z(0) = pixel;
  215.       z(n+1) = z(n) - R * F / [F' - (F" * F / 2 * F')]
  216.       bailout when: abs(mod(z(n+1)) - mod(z(n)) < epsilon
  217.     Three parameters: order of z (a), relaxation coefficient (R),
  218.                       small number for bailout (epsilon).
  219. ~OnlineFF
  220. {=HT_HENON henon}
  221. ~Label=HF_HENON
  222.     Orbit in two dimensions defined by:
  223.       x(n+1) = 1 + y(n) - a*x(n)*x(n)
  224.       y(n+1) = b*x(n)
  225.     Two parameters: a and b
  226.  
  227. {=HT_MARTIN hopalong}
  228. ~Label=HF_HOPALONG
  229.     Hopalong attractor by Barry Martin - orbit in two dimensions.
  230.       z(0) = y(0) = 0;
  231.       x(n+1) = y(n) - sign(x(n))*sqrt(abs(b*x(n)-c))
  232.       y(n+1) = a - x(n)
  233.     Parameters are a, b, and c.
  234.  
  235. {=HT_HYPERC hypercomplex}
  236. ~Label=HF_HYPERC
  237.     HyperComplex Mandelbrot set.
  238.       h(0)   = (0,0,0,0)
  239.       h(n+1) = fn(h(n)) + C.
  240.       where "fn" is sin, cos, log, sqr etc.
  241.     Two parameters: cj, ck
  242.     C = (xpixel,ypixel,cj,ck)
  243. ~OnlineFF
  244.  
  245. {=HT_HYPERC hypercomplexj}
  246. ~Label=HF_HYPERCJ
  247.     HyperComplex Julia set.
  248.       h(0)   = (xpixel,ypixel,zj,zk)
  249.       h(n+1) = fn(h(n)) + C.
  250.       where "fn" is sin, cos, log, sqr etc.
  251.     Six parameters: c1, ci, cj, ck
  252.     C = (c1,ci,cj,ck)
  253.  
  254. {=HT_ICON icon, icon3d}
  255. ~Label=HF_ICON
  256.     Orbit in three dimensions defined by:
  257.       p = lambda + alpha * magnitude + beta * (x(n)*zreal - y(n)*zimag)
  258.       x(n+1) = p * x(n) + gamma * zreal - omega * y(n)
  259.       y(n+1) = p * y(n) - gamma * zimag + omega * x(n)
  260.       (3D version uses magnitude for z)
  261.       Parameters:  Lambda, Alpha, Beta, Gamma, Omega, and Degree
  262.  
  263. {=HT_IFS IFS}
  264.     Barnsley IFS (Iterated Function System) fractals. Apply
  265.     contractive affine mappings.
  266. ~OnlineFF
  267.  
  268. {=HT_PICKMJ julfn+exp}
  269. ~Label=HF_JULFNPLUSEXP
  270.     A generalized Clifford Pickover fractal.
  271.       z(0) = pixel;
  272.       z(n+1) = fn(z(n)) + e^z(n) + c.
  273.     Three parameters: real & imaginary parts of c, and fn
  274.  
  275. {=HT_PICKMJ julfn+zsqrd}
  276. ~Label=HF_JULFNPLUSZSQRD
  277.       z(0) = pixel;
  278.       z(n+1) = fn(z(n)) + z(n)^2 + c
  279.     Three parameters: real & imaginary parts of c, and fn
  280.  
  281. {=HT_JULIA julia}
  282. ~Label=HF_JULIA
  283.     Classic Julia set fractal.
  284.       z(0) = pixel; z(n+1) = z(n)^2 + c.
  285.     Two parameters: real and imaginary parts of c.
  286. ~OnlineFF
  287.  
  288. {=HT_INVERSE julia_inverse}
  289. ~Label=HF_INVERSE
  290.     Inverse Julia function - "orbit" traces Julia set in two dimensions.
  291.       z(0) = a point on the Julia Set boundary; z(n+1) = +- sqrt(z(n) - c)
  292.     Parameters: Real and Imaginary parts of c
  293.            Maximum Hits per Pixel (similar to max iters)
  294.            Breadth First, Depth First or Random Walk Tree Traversal
  295.            Left or Right First Branching (in Depth First mode only)
  296.         Try each traversal method, keeping everything else the same.
  297.         Notice the differences in the way the image evolves.  Start with
  298.         a fairly low Maximum Hit limit, then increase it.  The hit limit
  299.         cannot be higher than the maximum colors in your video mode.
  300.  
  301. {=HT_FNORFN julia(fn||fn)}
  302. ~Label=HF_JULIAFNFN
  303.       z(0) = pixel;
  304.       if modulus(z(n)) < shift value, then
  305.          z(n+1) = fn1(z(n)) + c,
  306.       else
  307.          z(n+1) = fn2(z(n)) + c.
  308.     Five parameters: real, imaginary portions of c, shift value,
  309.                      fn1 and fn2.
  310. ~OnlineFF
  311.  
  312. {=HT_MANDJUL4 julia4}
  313. ~Label=HF_JULIA4
  314.     Fourth-power Julia set fractals, a special case
  315.     of julzpower kept for speed.
  316.       z(0) = pixel;
  317.       z(n+1) = z(n)^4 + c.
  318.     Two parameters: real and imaginary parts of c.
  319.  
  320. {=HT_JULIBROT julibrot}
  321.     'Julibrot' 4-dimensional fractals.
  322.  
  323. {=HT_PICKMJ julzpower}
  324. ~Label=HF_JULZPOWER
  325.       z(0) = pixel;
  326.       z(n+1) = z(n)^m + c.
  327.     Three parameters: real & imaginary parts of c, exponent m
  328.  
  329. {=HT_PICKMJ julzzpwr}
  330. ~Label=HF_JULZZPWR
  331.       z(0) = pixel;
  332.       z(n+1) = z(n)^z(n) + z(n)^m + c.
  333.     Three parameters: real & imaginary parts of c, exponent m
  334. ~OnlineFF
  335.  
  336. {=HT_KAM kamtorus, kamtorus3d}
  337. ~Label=HF_KAM
  338.     Series of orbits superimposed.
  339.     3d version has 'orbit' the z dimension.
  340.       x(0) = y(0) = orbit/3;
  341.       x(n+1) = x(n)*cos(a) + (x(n)*x(n)-y(n))*sin(a)
  342.       y(n+1) = x(n)*sin(a) - (x(n)*x(n)-y(n))*cos(a)
  343.     After each orbit, 'orbit' is incremented by a step size.
  344.     Parameters: a, step size, stop value for 'orbit', and
  345.     points per orbit.
  346.  
  347. {=HT_LAMBDA lambda}
  348. ~Label=HF_LAMBDA
  349.     Classic Lambda fractal. 'Julia' variant of Mandellambda.
  350.       z(0) = pixel;
  351.       z(n+1) = lambda*z(n)*(1 - z(n)).
  352.     Two parameters: real and imaginary parts of lambda.
  353.  
  354. {=HT_LAMBDAFN lambdafn}
  355. ~Label=HF_LAMBDAFN
  356.       z(0) = pixel;
  357.       z(n+1) = lambda * fn(z(n)).
  358.     Three parameters: real, imag portions of lambda, and fn
  359. ~OnlineFF
  360.  
  361. {=HT_FNORFN lambda(fn||fn)}
  362. ~Label=HF_LAMBDAFNFN
  363.       z(0) = pixel;
  364.       if modulus(z(n)) < shift value, then
  365.          z(n+1) = lambda * fn1(z(n)),
  366.       else
  367.          z(n+1) = lambda * fn2(z(n)).
  368.     Five parameters: real, imaginary portions of lambda, shift value,
  369.                      fn1 and fn2.
  370.  
  371. {=HT_LORENZ lorenz, lorenz3d}
  372. ~Label=HF_LORENZ
  373.     Lorenz two lobe attractor - orbit in three dimensions.
  374.     In 2d the x and y components are projected to form the image.
  375.       z(0) = y(0) = z(0) = 1;
  376.       x(n+1) = x(n) + (-a*x(n)*dt) + (     a*y(n)*dt)
  377.       y(n+1) = y(n) + ( b*x(n)*dt) - (       y(n)*dt) - (z(n)*x(n)*dt)
  378.       z(n+1) = z(n) + (-c*z(n)*dt) + (x(n)*y(n)*dt)
  379.     Parameters are dt, a, b, and c.
  380. ~OnlineFF
  381.  
  382. {=HT_LORENZ lorenz3d1}
  383. ~Label=HF_LORENZ3D1
  384.     Lorenz one lobe attractor - orbit in three dimensions.
  385.     The original formulas were developed by Rick Miranda and Emily Stone.
  386.       z(0) = y(0) = z(0) = 1; norm = sqrt(x(n)^2 + y(n)^2)
  387.       x(n+1) = x(n) + (-a*dt-dt)*x(n) + (a*dt-b*dt)*y(n) 
  388.          + (dt-a*dt)*norm + y(n)*dt*z(n)
  389.       y(n+1) = y(n) + (b*dt-a*dt)*x(n) - (a*dt+dt)*y(n) 
  390.          + (b*dt+a*dt)*norm - x(n)*dt*z(n) - norm*z(n)*dt
  391.       z(n+1) = z(n) +(y(n)*dt/2) - c*dt*z(n)
  392.     Parameters are dt, a, b, and c.
  393. ~OnlineFF
  394.  
  395. {=HT_LORENZ lorenz3d3}
  396. ~Label=HF_LORENZ3D3
  397.     Lorenz three lobe attractor - orbit in three dimensions.
  398.     The original formulas were developed by Rick Miranda and Emily Stone.
  399.       z(0) = y(0) = z(0) = 1; norm = sqrt(x(n)^2 + y(n)^2)
  400.       x(n+1) = x(n) +(-(a*dt+dt)*x(n) + (a*dt-b*dt+z(n)*dt)*y(n))/3 
  401.           + ((dt-a*dt)*(x(n)^2-y(n)^2) 
  402.           + 2*(b*dt+a*dt-z(n)*dt)*x(n)*y(n))/(3*norm)
  403.       y(n+1) = y(n) +((b*dt-a*dt-z(n)*dt)*x(n) - (a*dt+dt)*y(n))/3 
  404.           + (2*(a*dt-dt)*x(n)*y(n) 
  405.           + (b*dt+a*dt-z(n)*dt)*(x(n)^2-y(n)^2))/(3*norm)
  406.       z(n+1) = z(n) +(3*x(n)*dt*x(n)*y(n)-y(n)*dt*y(n)^2)/2 - c*dt*z(n)
  407.     Parameters are dt, a, b, and c.
  408. ~OnlineFF
  409. {=HT_LORENZ lorenz3d4}
  410. ~Label=HF_LORENZ3D4
  411.     Lorenz four lobe attractor - orbit in three dimensions.
  412.     The original formulas were developed by Rick Miranda and Emily Stone.
  413.       z(0) = y(0) = z(0) = 1; 
  414.       x(n+1) = x(n) +(-a*dt*x(n)^3 
  415.          + (2*a*dt+b*dt-z(n)*dt)*x(n)^2*y(n) + (a*dt-2*dt)*x(n)*y(n)^2 
  416.          + (z(n)*dt-b*dt)*y(n)^3) / (2 * (x(n)^2+y(n)^2))
  417.       y(n+1) = y(n) +((b*dt-z(n)*dt)*x(n)^3 + (a*dt-2*dt)*x(n)^2*y(n) 
  418.          + (-2*a*dt-b*dt+z(n)*dt)*x(n)*y(n)^2 
  419.          - a*dt*y(n)^3) / (2 * (x(n)^2+y(n)^2))
  420.       z(n+1) = z(n) +(2*x(n)*dt*x(n)^2*y(n) - 2*x(n)*dt*y(n)^3 - c*dt*z(n))
  421.     Parameters are dt, a, b, and c.
  422.  
  423. {=HT_LSYS lsystem}
  424.     Using a turtle-graphics control language and starting with
  425.     an initial axiom string, carries out string substitutions the
  426.     specified number of times (the order), and plots the resulting.
  427.  
  428. {=HT_LYAPUNOV lyapunov}
  429.     Derived from the Bifurcation fractal, the Lyapunov plots the Lyapunov
  430.     Exponent for a population model where the Growth parameter varies between
  431.     two values in a periodic manner.
  432. ~OnlineFF
  433.  
  434. {=HT_MAGNET magnet1j}
  435. ~Label=HF_MAGJ1
  436.       z(0) = pixel;
  437.         [  z(n)^2 + (c-1)  ] 2
  438.       z(n+1) =    | ---------------- | 
  439.         [  2*z(n) + (c-2)  ]
  440.     Parameters: the real and imaginary parts of c
  441.  
  442. {=HT_MAGNET magnet1m}
  443. ~Label=HF_MAGM1
  444.       z(0) = 0; c = pixel;
  445.         [  z(n)^2 + (c-1)  ] 2
  446.       z(n+1) =    | ---------------- | 
  447.         [  2*z(n) + (c-2)  ]
  448.     Parameters: the real & imaginary parts of perturbation of z(0)
  449.  
  450. {=HT_MAGNET magnet2j}
  451. ~Label=HF_MAGJ2
  452.       z(0) = pixel;
  453.         [  z(n)^3 + 3*(C-1)*z(n) + (C-1)*(C-2)           ] 2
  454.       z(n+1) =    |  -------------------------------------------- |
  455.         [  3*(z(n)^2) + 3*(C-2)*z(n) + (C-1)*(C-2) + 1 ]
  456.     Parameters: the real and imaginary parts of c
  457. ~OnlineFF
  458. {=HT_MAGNET magnet2m}
  459. ~Label=HF_MAGM2
  460.       z(0) = 0; c = pixel;
  461.         [  z(n)^3 + 3*(C-1)*z(n) + (C-1)*(C-2)           ] 2
  462.       z(n+1) =    |  -------------------------------------------- |
  463.         [  3*(z(n)^2) + 3*(C-2)*z(n) + (C-1)*(C-2) + 1 ]
  464.     Parameters: the real and imaginary parts of perturbation of z(0)
  465.  
  466. {=HT_MANDEL mandel}
  467. ~Label=HF_MANDEL
  468.     Classic Mandelbrot set fractal.
  469.       z(0) = c = pixel;
  470.       z(n+1) = z(n)^2 + c.
  471.     Two parameters: real & imaginary perturbations of z(0)
  472.  
  473. {=HT_FNORFN mandel(fn||fn)}
  474. ~Label=HF_MANDELFNFN
  475.       c = pixel;
  476.       z(0) = p1
  477.       if modulus(z(n)) < shift value, then
  478.          z(n+1) = fn1(z(n)) + c,
  479.       else
  480.          z(n+1) = fn2(z(n)) + c.
  481.     Five parameters: real, imaginary portions of p1, shift value,
  482.                      fn1 and fn2.
  483. ~OnlineFF
  484.  
  485. {=HT_MANDELCLOUD mandelcloud}
  486. ~Label=HF_MANDELCLOUD
  487.     Displays orbits of Mandelbrot set:
  488.       z(0) = c = pixel;
  489.       z(n+1) = z(n)^2 + c.
  490.     One parameter: number of intervals
  491.  
  492. {=HT_MANDJUL4 mandel4}
  493. ~Label=HF_MANDEL4
  494.     Special case of mandelzpower kept for speed.
  495.       z(0) = c = pixel;
  496.       z(n+1) = z(n)^4 + c.
  497.     Parameters: real & imaginary perturbations of z(0)
  498.  
  499. {=HT_MANDFN mandelfn}
  500. ~Label=HF_MANDFN
  501.       z(0) = c = pixel;
  502.       z(n+1) = c*fn(z(n)).
  503.     Parameters: real & imaginary perturbations of z(0), and fn
  504. ~OnlineFF
  505.  
  506. {=HT_FNORFN manlam(fn||fn)}
  507. ~Label=HF_MANLAMFNFN
  508.       c = pixel;
  509.       z(0) = p1
  510.       if modulus(z(n)) < shift value, then
  511.          z(n+1) = fn1(z(n)) * c, else
  512.          z(n+1) = fn2(z(n)) * c.
  513.     Five parameters: real, imaginary parts of p1, shift value, fn1, fn2.
  514.  
  515. {=HT_MARTIN Martin}
  516. ~Label=HF_MARTIN
  517.     Attractor fractal by Barry Martin - orbit in two dimensions.
  518.       z(0) = y(0) = 0;
  519.       x(n+1) = y(n) - sin(x(n))
  520.       y(n+1) = a - x(n)
  521.     Parameter is a (try a value near pi)
  522.  
  523. {=HT_MLAMBDA mandellambda}
  524. ~Label=HF_MLAMBDA
  525.       z(0) = .5; lambda = pixel;
  526.       z(n+1) = lambda*z(n)*(1 - z(n)).
  527.     Parameters: real & imaginary perturbations of z(0)
  528. ~OnlineFF
  529.  
  530. {=HT_PHOENIX mandphoenix}
  531. ~Label=HF_MANDPHOENIX
  532.       z(0) = p1, y(0) = 0;
  533.       For degree of Z = 0:
  534.         z(n+1) = z(n)^2 + pixel.x + (pixel.y)y(n), y(n+1) = z(n)
  535.       For degree of Z >= 2:
  536.         z(n+1) = z(n)^degree + pz(n)^(degree-1) + qy(n), y(n+1) = z(n)
  537.       For degree of Z <= -3:
  538.         z(n+1) = z(n)^|degree| + pz(n)^(|degree|-2) + qy(n), y(n+1) = z(n)
  539.     Three parameters: real part of z(0), imaginary part of z(0), and the
  540.       degree of Z.
  541.  
  542. {=HT_PICKMJ manfn+exp}
  543. ~Label=HF_MANDFNPLUSEXP
  544.     'Mandelbrot-Equivalent' for the julfn+exp fractal.
  545.       z(0) = c = pixel;
  546.       z(n+1) = fn(z(n)) + e^z(n) + C.
  547.     Parameters: real & imaginary perturbations of z(0), and fn
  548. ~OnlineFF
  549.  
  550. {=HT_PICKMJ manfn+zsqrd}
  551. ~Label=HF_MANDFNPLUSZSQRD
  552.     'Mandelbrot-Equivalent' for the Julfn+zsqrd fractal.
  553.       z(0) = c = pixel;
  554.       z(n+1) = fn(z(n)) + z(n)^2 + c.
  555.     Parameters: real & imaginary perturbations of z(0), and fn
  556.  
  557. {=HT_SCOTSKIN manowar}
  558. ~Label=HF_MANOWAR
  559.       c = z1(0) = z(0) = pixel;
  560.       z(n+1) = z(n)^2 + z1(n) + c;
  561.       z1(n+1) = z(n);
  562.     Parameters: real & imaginary perturbations of z(0)
  563.  
  564. {=HT_SCOTSKIN manowar}
  565. ~Label=HF_MANOWARJ
  566.       z1(0) = z(0) = pixel;
  567.       z(n+1) = z(n)^2 + z1(n) + c;
  568.       z1(n+1) = z(n);
  569.     Parameters: real & imaginary perturbations of c
  570. ~OnlineFF
  571.  
  572. {=HT_PICKMJ manzpower}
  573. ~Label=HF_MANZPOWER
  574.     'Mandelbrot-Equivalent' for julzpower.
  575.       z(0) = c = pixel;
  576.       z(n+1) = z(n)^exp + c; try exp = e = 2.71828...
  577.     Parameters: real & imaginary perturbations of z(0), real &
  578.     imaginary parts of exponent exp.
  579.  
  580. {=HT_PICKMJ manzzpwr}
  581. ~Label=HF_MANZZPWR
  582.     'Mandelbrot-Equivalent' for the julzzpwr fractal.
  583.       z(0) = c = pixel
  584.       z(n+1) = z(n)^z(n) + z(n)^exp + C.
  585.     Parameters: real & imaginary perturbations of z(0), and exponent
  586.  
  587. {=HT_MARKS marksjulia}
  588. ~Label=HF_MARKSJULIA
  589.     A variant of the julia-lambda fractal.
  590.       z(0) = pixel;
  591.       z(n+1) = (c^exp)*z(n)^2 + c.
  592.     Parameters: real & imaginary parts of c, and exponent
  593. ~OnlineFF
  594.  
  595. {=HT_MARKS marksmandel}
  596. ~Label=HF_MARKSMAND
  597.     A variant of the mandel-lambda fractal.
  598.       z(0) = c = pixel;
  599.       z(n+1) = (c^exp)*z(n)^2 + c.
  600.     Parameters: real & imaginary perturbations of z(0), and exponent
  601.  
  602. {=HT_MARKS marksmandelpwr}
  603. ~Label=HF_MARKSMANDPWR
  604.     The marksmandelpwr formula type generalized (it previously
  605.     had fn=sqr hard coded).
  606.       z(0) = pixel, c = z(0) ^ (z(0) - 1):
  607.       z(n+1) = c * fn(z(n)) + pixel,
  608.     Parameters: real and imaginary perturbations of z(0), and fn
  609.  
  610. {=HT_NEWTBAS newtbasin}
  611. ~Label=HF_NEWTBAS
  612.     Based on the Newton formula for finding the roots of z^p - 1.
  613.     Pixels are colored according to which root captures the orbit.
  614.       z(0) = pixel;
  615.       z(n+1) = ((p-1)*z(n)^p + 1)/(p*z(n)^(p - 1)).
  616.     Two parameters: the polynomial degree p, and a flag to turn
  617.     on color stripes to show alternate iterations.
  618. ~OnlineFF
  619.  
  620. {=HT_NEWT newton}
  621. ~Label=HF_NEWT
  622.     Based on the Newton formula for finding the roots of z^p - 1.
  623.     Pixels are colored according to the iteration when the orbit
  624.     is captured by a root.
  625.       z(0) = pixel;
  626.       z(n+1) = ((p-1)*z(n)^p + 1)/(p*z(n)^(p - 1)).
  627.     One parameter: the polynomial degree p.
  628.  
  629. {=HT_PHOENIX phoenix}
  630. ~Label=HF_PHOENIX
  631.       z(0) = pixel, y(0) = 0;
  632.       For degree of Z = 0: z(n+1) = z(n)^2 + p + qy(n), y(n+1) = z(n)
  633.       For degree of Z >= 2:
  634.         z(n+1) = z(n)^degree + pz(n)^(degree-1) + qy(n), y(n+1) = z(n)
  635.       For degree of Z <= -3:
  636.         z(n+1) = z(n)^|degree| + pz(n)^(|degree|-2) + qy(n), y(n+1) = z(n)
  637.     Three parameters: real p, real q, and the degree of Z.
  638. ~OnlineFF
  639. {=HT_PICK pickover}
  640. ~Label=HF_PICKOVER
  641.     Orbit in three dimensions defined by:
  642.       x(n+1) = sin(a*y(n)) - z(n)*cos(b*x(n))
  643.       y(n+1) = z(n)*sin(c*x(n)) - cos(d*y(n))
  644.       z(n+1) = sin(x(n))
  645.     Parameters: a, b, c, and d.
  646.  
  647. {=HT_PLASMA plasma}
  648. ~Label=HF_PLASMA
  649.     Random, cloud-like formations.  Requires 4 or more colors.
  650.     A recursive algorithm repeatedly subdivides the screen and
  651.     colors pixels according to an average of surrounding pixels
  652.     and a random color, less random as the grid size decreases.
  653.     Four parameters: 'graininess' (.5 to 50, default = 2), old/new
  654.     algorithm, seed value used, 16-bit out output selection.
  655.  
  656. {=HT_POPCORN popcorn}
  657. ~Label=HF_POPCORN
  658.     The orbits in two dimensions defined by:
  659.       x(0) = xpixel, y(0) = ypixel;
  660.       x(n+1) = x(n) - h*sin(y(n) + tan(3*y(n))
  661.       y(n+1) = y(n) - h*sin(x(n) + tan(3*x(n))
  662.     are plotted for each screen pixel and superimposed.
  663.     One parameter: step size h.
  664. ~OnlineFF
  665.  
  666. {=HT_POPCORN popcornjul}
  667. ~Label=HF_POPCJUL
  668.     Conventional Julia using the popcorn formula:
  669.       x(0) = xpixel, y(0) = ypixel;
  670.       x(n+1) = x(n) - h*sin(y(n) + tan(3*y(n))
  671.       y(n+1) = y(n) - h*sin(x(n) + tan(3*x(n))
  672.     One parameter: step size h.
  673.  
  674. {=HT_QUAT quatjul}
  675. ~Label=HF_QUATJ
  676.     Quaternion Julia set.
  677.       q(0)   = (xpixel,ypixel,zj,zk)
  678.       q(n+1) = q(n)*q(n) + c.
  679.     Four parameters: c, ci, cj, ck
  680.     c = (c1,ci,cj,ck)
  681.  
  682. {=HT_QUAT quat}
  683. ~Label=HF_QUAT
  684.     Quaternion Mandelbrot set.
  685.       q(0)   = (0,0,0,0)
  686.       q(n+1) = q(n)*q(n) + c.
  687.     Two parameters: cj,ck
  688.     c = (xpixel,ypixel,cj,ck)
  689. ~OnlineFF
  690.  
  691. {=HT_ROSS rossler3D}
  692. ~Label=HF_ROSS
  693.     Orbit in three dimensions defined by:
  694.       x(0) = y(0) = z(0) = 1;
  695.       x(n+1) = x(n) - y(n)*dt -   z(n)*dt
  696.       y(n+1) = y(n) + x(n)*dt + a*y(n)*dt
  697.       z(n+1) = z(n) + b*dt + x(n)*z(n)*dt - c*z(n)*dt
  698.     Parameters are dt, a, b, and c.
  699.  
  700. {=HT_SIER sierpinski}
  701. ~Label=HF_SIER
  702.     Sierpinski gasket - Julia set producing a 'Swiss cheese triangle'
  703.       z(n+1) = (2*x,2*y-1) if y > .5;
  704.       else (2*x-1,2*y) if x > .5;
  705.       else (2*x,2*y)
  706.     No parameters.
  707.  
  708. {=HT_SCOTSKIN spider}
  709. ~Label=HF_SPIDER
  710.       c(0) = z(0) = pixel;
  711.       z(n+1) = z(n)^2 + c(n);
  712.       c(n+1) = c(n)/2 + z(n+1)
  713.     Parameters: real & imaginary perturbation of z(0)
  714. ~OnlineFF
  715.  
  716. {=HT_SCOTSKIN sqr(1/fn)}
  717. ~Label=HF_SQROVFN
  718.       z(0) = pixel;
  719.       z(n+1) = (1/fn(z(n))^2
  720.     One parameter: the function fn.
  721.  
  722. {=HT_SCOTSKIN sqr(fn)}
  723. ~Label=HF_SQRFN
  724.       z(0) = pixel;
  725.       z(n+1) = fn(z(n))^2
  726.     One parameter: the function fn.
  727.  
  728. {=HT_TEST test}
  729. ~Label=HF_TEST
  730.     'test' point letting us (and you!) easily add fractal types via
  731.     the c module testpt.c.  Default set up is a mandelbrot fractal.
  732.     Four parameters: user hooks (not used by default testpt.c).
  733.  
  734. {=HT_SCOTSKIN tetrate}
  735. ~Label=HF_TETRATE
  736.       z(0) = c = pixel;
  737.       z(n+1) = c^z(n)
  738.     Parameters: real & imaginary perturbation of z(0)
  739. ~OnlineFF
  740.  
  741. {=HT_MARKS tim's_error}
  742. ~Label=HF_TIMSERR
  743.     A serendipitous coding error in marksmandelpwr brings to life
  744.     an ancient pterodactyl!  (Try setting fn to sqr.)
  745.       z(0) = pixel, c = z(0) ^ (z(0) - 1):
  746.       tmp = fn(z(n))
  747.       real(tmp) = real(tmp) * real(c) - imag(tmp) * imag(c);
  748.       imag(tmp) = real(tmp) * imag(c) - imag(tmp) * real(c);
  749.       z(n+1) = tmp + pixel;
  750.     Parameters: real & imaginary perturbations of z(0) and function fn
  751.  
  752. {=HT_UNITY unity}
  753. ~Label=HF_UNITY
  754.       z(0) = pixel;
  755.       x = real(z(n)), y = imag(z(n))
  756.       One = x^2 + y^2;
  757.       y = (2 - One) * x;
  758.       x = (2 - One) * y;
  759.       z(n+1) = x + i*y
  760.     No parameters.
  761. ~CompressSpaces+
  762. ;
  763. ;
  764. ;
  765. ~Topic=Fractal Types
  766.  
  767. A list of the fractal types and their mathematics can be found in the
  768. {Summary of Fractal Types}.  Some notes about how Fractint calculates
  769. them are in "A Little Code" in {"Fractals and the PC"}.
  770.  
  771. Fractint starts by default with the Mandelbrot set. You can change that by
  772. using the command-line argument "TYPE=" followed by one of the
  773. fractal type names, or by using the <T> command and
  774. selecting the type - if parameters are needed, you will be prompted for
  775. them.
  776.  
  777. In the text that follows, due to the limitations of the ASCII character
  778. set, "a*b" means "a times b", and "a^b" means "a to the power b".
  779.  
  780. ~Doc-
  781. Press <PageDown> for type selection list.
  782. ~FF
  783. Select a fractal type:
  784.  
  785. ~Table=40 2 0
  786. { The Mandelbrot Set }
  787. { Julia Sets }
  788. { Inverse Julias }
  789. { Newton domains of attraction }
  790. { Newton }
  791. { Complex Newton }
  792. { Lambda Sets }
  793. { Mandellambda Sets }
  794. { Plasma Clouds }
  795. { Lambdafn }
  796. { Mandelfn }
  797. { Barnsley Mandelbrot/Julia Sets }
  798. { Barnsley IFS Fractals }
  799. { Sierpinski Gasket }
  800. { Quartic Mandelbrot/Julia }
  801. { Distance Estimator }
  802. { Pickover Mandelbrot/Julia Types }
  803. { Pickover Popcorn }
  804. { Dynamic System }
  805. { Quaternion }
  806. { Peterson Variations }
  807. { Unity }
  808. { Circle }
  809. { Scott Taylor / Lee Skinner Variations }
  810. { Kam Torus }
  811. { Bifurcation }
  812. { Orbit Fractals }
  813. { Lorenz Attractors }
  814. { Rossler Attractors }
  815. { Henon Attractors }
  816. { Pickover Attractors }
  817. { Martin Attractors }
  818. { Gingerbreadman }
  819. { Test }
  820. { Formula }
  821. { Julibrots }
  822. { Diffusion Limited Aggregation }
  823. { Magnetic Fractals }
  824. { L-Systems }
  825. { Lyapunov Fractals }
  826. { fn||fn Fractals }
  827. { Halley }
  828. { Cellular Automata }
  829. { Phoenix }
  830. { Frothy Basins }
  831. { Icon }
  832. { Hypercomplex }
  833. ~EndTable
  834. ~Doc+
  835. ;
  836. ;
  837. ~Topic=The Mandelbrot Set, Label=HT_MANDEL
  838. (type=mandel)
  839.  
  840. This set is the classic: the only one implemented in many plotting
  841. programs, and the source of most of the printed fractal images published
  842. in recent years. Like most of the other types in Fractint, it is simply a
  843. graph: the x (horizontal) and y (vertical) coordinate axes represent
  844. ranges of two independent quantities, with various colors used to
  845. symbolize levels of a third quantity which depends on the first two. So
  846. far, so good: basic analytic geometry.
  847.  
  848. Now things get a bit hairier. The x axis is ordinary, vanilla real
  849. numbers. The y axis is an imaginary number, i.e. a real number times i,
  850. where i is the square root of -1. Every point on the plane -- in this
  851. case, your PC's display screen -- represents a complex number of the form:
  852.  
  853.     x-coordinate + i * y-coordinate
  854.  
  855. If your math training stopped before you got to imaginary and complex
  856. numbers, this is not the place to catch up. Suffice it to say that they
  857. are just as "real" as the numbers you count fingers with (they're used
  858. every day by electrical engineers) and they can undergo the same kinds of
  859. algebraic operations.
  860.  
  861. OK, now pick any complex number -- any point on the complex plane -- and
  862. call it C, a constant. Pick another, this time one which can vary, and
  863. call it Z. Starting with Z=0 (i.e., at the origin, where the real and
  864. imaginary axes cross), calculate the value of the expression
  865.  
  866.     Z^2 + C
  867.  
  868. Take the result, make it the new value of the variable Z, and calculate
  869. again. Take that result, make it Z, and do it again, and so on: in
  870. mathematical terms, iterate the function Z(n+1) = Z(n)^2 + C. For certain
  871. values of C, the result "levels off" after a while. For all others, it
  872. grows without limit. The Mandelbrot set you see at the start -- the solid-
  873. colored lake (blue by default), the blue circles sprouting from it, and
  874. indeed every point of that color -- is the set of all points C for which
  875. the value of Z is less than 2 after 150 iterations (150 is the default setting,
  876. changeable via the <X> options screen or "maxiter=" parameter).
  877. All the surrounding "contours" of other colors represent points for which Z
  878. exceeds 2 after 149 iterations (the contour closest to the M-set itself),
  879. 148 iterations, (the next one out), and so on.
  880.  
  881. We actually don't test for Z exceeding 2 - we test Z squared against 4
  882. instead because it is easier.  This value (FOUR usually) is known as the
  883. "bailout" value for the calculation, because we stop iterating for the
  884. point when it is reached.  The bailout value can be changed on the <Z>
  885. options screen but the default is usually best.
  886.  
  887. Some features of interest:
  888.  
  889. 1. Use the <X> options screen to increase the maximum number of iterations.
  890. Notice that the boundary of the M-set becomes more and more convoluted (the
  891. technical terms are "wiggly," "squiggly," and "utterly bizarre") as the Z-
  892. values for points that were still within the set after 150 iterations turn
  893. out to exceed 2 after 200, 500, or 1200. In fact, it can be proven that
  894. the true boundary is infinitely long: detail without limit.
  895.  
  896. 2. Although there appear to be isolated "islands" of blue, zoom in -- that
  897. is, plot for a smaller range of coordinates to show more detail -- and
  898. you'll see that there are fine "causeways" of blue connecting them to the
  899. main set. As you zoomed, smaller islands became visible; the same is true
  900. for them. In fact, there are no isolated points in the M-set: it is
  901. "connected" in a strict mathematical sense.
  902.  
  903. 3. The upper and lower halves of the first image are symmetric (a fact
  904. that Fractint makes use of here and in some other fractal types to speed
  905. plotting). But notice that the same general features -- lobed discs,
  906. spirals, starbursts -- tend to repeat themselves (although never exactly)
  907. at smaller and smaller scales, so that it can be impossible to judge by
  908. eye the scale of a given image.
  909.  
  910. 4. In a sense, the contour colors are window-dressing: mathematically, it
  911. is the properties of the M-set itself that are interesting, and no
  912. information about it would be lost if all points outside the set were
  913. assigned the same color. If you're a serious, no-nonsense type, you may
  914. want to cycle the colors just once to see the kind of silliness that other
  915. people enjoy, and then never do it again. Go ahead. Just once, now. We
  916. trust you.
  917. ;
  918. ;
  919. ~Topic=Julia Sets, Label=HT_JULIA
  920. (type=julia)
  921.  
  922. These sets were named for mathematician Gaston Julia, and can be generated
  923. by a simple change in the iteration process described for the
  924. {=HT_MANDEL Mandelbrot Set}.  Start with a
  925. specified value of C, "C-real + i * C-imaginary"; use as the initial value
  926. of Z "x-coordinate + i * y-coordinate"; and repeat the same iteration,
  927. Z(n+1) = Z(n)^2 + C.
  928.  
  929. There is a Julia set corresponding to every point on the complex plane --
  930. an infinite number of Julia sets. But the most visually interesting tend
  931. to be found for the same C values where the M-set image is busiest, i.e.
  932. points just outside the boundary. Go too far inside, and the corresponding
  933. Julia set is a circle; go too far outside, and it breaks up into scattered
  934. points. In fact, all Julia sets for C within the M-set share the
  935. "connected" property of the M-set, and all those for C outside lack it.
  936.  
  937. Fractint's spacebar toggle lets you "flip" between any view of the M-set
  938. and the Julia set for the point C at the center of that screen. You can
  939. then toggle back, or zoom your way into the Julia set for a while and then
  940. return to the M-set. So if the infinite complexity of the M-set palls,
  941. remember: each of its infinite points opens up a whole new Julia set.
  942.  
  943. Historically, the Julia sets came first: it was while looking at the M-set
  944. as an "index" of all the Julia sets' origins that Mandelbrot noticed its
  945. properties.
  946.  
  947. The relationship between the {=HT_MANDEL Mandelbrot} set and Julia set can
  948. hold between
  949. other sets as well.  Many of Fractint's types are "Mandelbrot/Julia" pairs
  950. (sometimes called "M-sets" or "J-sets". All these are generated by
  951. equations that are of the form z(k+1) = f(z(k),c), where the function
  952. orbit is the sequence z(0), z(1), ..., and the variable c is a complex
  953. parameter of the equation. The value c is fixed for "Julia" sets and is
  954. equal to the first two parameters entered with the "params=Creal/Cimag"
  955. command. The initial orbit value z(0) is the complex number corresponding
  956. to the screen pixel. For Mandelbrot sets, the parameter c is the complex
  957. number corresponding to the screen pixel. The value z(0) is c plus a
  958. perturbation equal to the values of the first two parameters.  See
  959. the discussion of {=HT_MLAMBDA Mandellambda Sets}.
  960. This approach may or may not be the
  961. "standard" way to create "Mandelbrot" sets out of "Julia" sets.
  962.  
  963. Some equations have additional parameters.  These values are entered as the
  964. third for fourth params= value for both Julia and Mandelbrot sets. The
  965. variables x and y refer to the real and imaginary parts of z; similarly,
  966. cx and cy are the real and imaginary parts of the parameter c and fx(z)
  967. and fy(z) are the real and imaginary parts of f(z). The variable c is
  968. sometimes called lambda for historical reasons.
  969.  
  970. NOTE: if you use the "PARAMS=" argument to warp the M-set by starting with
  971. an initial value of Z other than 0, the M-set/J-sets correspondence breaks
  972. down and the spacebar toggle no longer works.
  973. ;
  974. ;
  975. ~Topic=Julia Toggle Spacebar Commands, Label=HELP_JIIM
  976. The spacebar toggle has been enhanced for the classic Mandelbrot and Julia 
  977. types. When viewing the Mandelbrot, the spacebar turns on a window mode that 
  978. displays the Inverse Julia corresponding to the cursor position in a window. 
  979. Pressing the spacebar then causes the regular Julia escape time fractal 
  980. corresponding to the cursor position to be generated. The following keys 
  981. take effect in Inverse Julia mode. 
  982.  
  983. <Space>     Generate the escape-time Julia Set corresponding to the cursor\
  984.             position. Only works if fractal is a "Mandelbrot" type.\
  985. <n>         Numbers toggle - shows coordinates of the cursor on the\ 
  986.             screen. Press <n> again to turn off numbers.\
  987. <p>         Enter new pixel coordinates directly\ 
  988. <h>         Hide fractal toggle. Works only if View Windows is turned on\ 
  989.             and set for a small window (such as the default size.) Hides \ 
  990.             the fractal, allowing the orbit to take up the whole screen. \
  991.             Press <h> again to uncover the fractal.\
  992. <s>         Saves the fractal, cursor, orbits, and numbers.\
  993. <<> or <,>  Zoom inverse julia image smaller.\
  994. <>> or <.>  Zoom inverse julia image larger.\
  995. <z>         Restore default zoom.\
  996.  
  997. The Julia Inverse window is only implemented for the classic Mandelbrot
  998. (type=mandel). For other "Mandelbrot" types <space> turns on the cursor 
  999. without the Julia window, and allows you to select coordinates of the
  1000. matching Julia set in a way similar to the use of the zoom box with the 
  1001. Mandelbrot/Julia toggle in previous Fractint versions.
  1002. ;
  1003. ;
  1004. ~Topic=Inverse Julias, Label=HT_INVERSE
  1005. (type=julia_inverse)
  1006.  
  1007. Pick a function, such as the familiar Z(n) = Z(n-1) squared plus C
  1008. (the defining function of the Mandelbrot Set).  If you pick a point Z(0)
  1009. at random from the complex plane, and repeatedly apply the function to it,
  1010. you get a sequence of new points called an orbit, which usually either 
  1011. zips out toward infinity or zooms in toward one or more "attractor" points
  1012. near the middle of the plane.  The set of all points that are "attracted"
  1013. to infinity is called the "Basin of Attraction" of infinity.  Each of the
  1014. other attractors also has its own Basin of Attraction.  Why is it called
  1015. a Basin?  Imagine a lake, and all the water in it "draining" into the
  1016. attractor.  The boundary between these basins is called the Julia Set of
  1017. the function.
  1018.  
  1019. The boundary between the basins of attraction is sort of like a 
  1020. repeller; all orbits move away from it, toward one of the attractors.
  1021. But if we define a new function as the inverse of the old one, as for
  1022. instance Z(n) = sqrt(Z(n-1) minus C), then the old attractors become
  1023. repellers, and the former boundary itself becomes the attractor!  Now,
  1024. starting from any point, all orbits are drawn irresistibly to the Julia
  1025. Set!  In fact, once an orbit reaches the boundary, it will continue to
  1026. hop about until it traces the entire Julia Set!  This method for drawing
  1027. Julia Sets is called the Inverse Iteration Method, or IIM for short.
  1028.  
  1029. Unfortunately, some parts of each Julia Set boundary are far more 
  1030. attractive to inverse orbits than others are, so that as an orbit 
  1031. traces out the set, it keeps coming back to these attractive parts
  1032. again and again, only occasionally visiting the less attractive parts.
  1033. Thus it may take an infinite length of time to draw the entire set.
  1034. To hasten the process, we can keep track of how many times each pixel
  1035. on our computer screen is visited by an orbit, and whenever an orbit
  1036. reaches a pixel that has already been visited more than a certain number
  1037. of times, we can consider that orbit finished and move on to another one.
  1038. This "hit limit" thus becomes similar to the iteration limit used in the
  1039. traditional escape-time fractal algorithm.  This is called the Modified
  1040. Inverse Iteration Method, or MIIM, and is much faster than the IIM.
  1041.  
  1042. Now, the inverse of Mandelbrot's classic function is a square root, and
  1043. the square root actually has two solutions; one positive, one negative.
  1044. Therefore at each step of each orbit of the inverse function there is
  1045. a decision; whether to use the positive or the negative square root.  
  1046. Each one gives rise to a new point on the Julia Set, so each is a good
  1047. choice.  This series of choices defines a binary decision tree, each
  1048. point on the Julia Set giving rise to two potential child points.  
  1049. There are many interesting ways to traverse a binary tree, among them
  1050. Breadth first, Depth first (left or negative first), Depth first (right
  1051. or positive first), and completely at random.  It turns out that most 
  1052. traversal methods lead to the same or similar pictures, but that how the
  1053. image evolves as the orbits trace it out differs wildly depending on the
  1054. traversal method chosen.  As far as I know, this fact is an original 
  1055. discovery, and this version of FRACTINT is its first publication.
  1056.  
  1057. Pick a Julia constant such as Z(0) = (-.74543, .11301), the popular
  1058. Seahorse Julia, and try drawing it first Breadth first, then Depth first
  1059. (right first), Depth first (left first), and finally with Random Walk.
  1060.  
  1061. Caveats: the video memory is used in the algorithm, to keep track of 
  1062. how many times each pixel has been visited (by changing it's color). 
  1063. Therefore the algorithm will not work well if you zoom in far enough that
  1064. part of the Julia Set is off the screen.
  1065.  
  1066. Bugs:   Not working with Disk Video.
  1067.         Not resumeable.
  1068.  
  1069. The <J> key toggles between the Inverse Julia orbit and the 
  1070. corresponding Julia escape time fractal.
  1071. ;
  1072. ;
  1073. ~Topic=Newton domains of attraction, Label=HT_NEWTBAS
  1074. (type=newtbasin)
  1075.  
  1076. The Newton formula is an algorithm used to find the roots of polynomial
  1077. equations by successive "guesses" that converge on the correct value as
  1078. you feed the results of each approximation back into the formula. It works
  1079. very well -- unless you are unlucky enough to pick a value that is on a
  1080. line BETWEEN two actual roots. In that case, the sequence explodes into
  1081. chaos, with results that diverge more and more wildly as you continue the
  1082. iteration.
  1083.  
  1084. This fractal type shows the results for the polynomial Z^n - 1, which has
  1085. n roots in the complex plane. Use the <T>ype command and enter "newtbasin"
  1086. in response to the prompt. You will be asked for a parameter, the "order"
  1087. of the equation (an integer from 3 through 10 -- 3 for x^3-1, 7 for x^7-1,
  1088. etc.). A second parameter is a flag to turn on alternating shades showing
  1089. changes in the number of iterations needed to attract an orbit. Some
  1090. people like stripes and some don't, as always, Fractint gives you a
  1091. choice!
  1092.  
  1093. The coloring of the plot shows the "basins of attraction" for each root of
  1094. the polynomial -- i.e., an initial guess within any area of a given color
  1095. would lead you to one of the roots. As you can see, things get a bit weird
  1096. along certain radial lines or "spokes," those being the lines between
  1097. actual roots. By "weird," we mean infinitely complex in the good old
  1098. fractal sense. Zoom in and see for yourself.
  1099.  
  1100. This fractal type is symmetric about the origin, with the number of
  1101. "spokes" depending on the order you select. It uses floating-point math if
  1102. you have an FPU, or a somewhat slower integer algorithm if you don't have
  1103. one.
  1104. ~Doc-
  1105.  
  1106. See also: {Newton}
  1107. ~Doc+
  1108. ;
  1109. ;
  1110. ~Topic=Newton, Label=HT_NEWT
  1111. (type=newton)
  1112.  
  1113. The generating formula here is identical to that for {=HT_NEWTBAS newtbasin},
  1114. but the
  1115. coloring scheme is different. Pixels are colored not according to the root
  1116. that would be "converged on" if you started using Newton's formula from
  1117. that point, but according to the iteration when the value is close to a
  1118. root.  For example, if the calculations for a particular pixel converge to
  1119. the 7th root on the 23rd iteration, NEWTBASIN will color that pixel using
  1120. color #7, but NEWTON will color it using color #23.
  1121.  
  1122. If you have a 256-color mode, use it: the effects can be much livelier
  1123. than those you get with type=newtbasin, and color cycling becomes, like,
  1124. downright cosmic. If your "corners" choice is symmetrical, Fractint
  1125. exploits the symmetry for faster display.
  1126.  
  1127. The applicable "params=" values are the same as newtbasin. Try "params=4."
  1128. Other values are 3 through 10. 8 has twice the symmetry and is faster. As
  1129. with newtbasin, an FPU helps.
  1130. ;
  1131. ;
  1132. ~Topic=Complex Newton, Label=HT_NEWTCMPLX
  1133. (type=complexnewton/complexbasin)
  1134.  
  1135. Well, hey, "Z^n - 1" is so boring when you can use "Z^a - b" where "a" and
  1136. "b" are complex numbers!  The new "complexnewton" and "complexbasin"
  1137. fractal types are just the old {=HT_NEWT "newton"} and
  1138. {=HT_NEWTBAS "newtbasin"} fractal types with
  1139. this little added twist.  When you select these fractal types, you are
  1140. prompted for four values (the real and imaginary portions of "a" and "b").
  1141. If "a" has a complex portion, the fractal has a discontinuity along the
  1142. negative axis - relax, we finally figured out that it's *supposed* to be
  1143. there!
  1144. ;
  1145. ;
  1146. ~Topic=Lambda Sets, Label=HT_LAMBDA
  1147. (type=lambda)
  1148.  
  1149. This type calculates the Julia set of the formula lambda*Z*(1-Z). That is,
  1150. the value Z[0] is initialized with the value corresponding to each pixel
  1151. position, and the formula iterated. The pixel is colored according to the
  1152. iteration when the sum of the squares of the real and imaginary parts
  1153. exceeds 4.
  1154.  
  1155. Two parameters, the real and imaginary parts of lambda, are required. Try
  1156. 0 and 1 to see the classical fractal "dragon". Then try 0.2 and 1 for a
  1157. lot more detail to zoom in on.
  1158.  
  1159. It turns out that all quadratic Julia-type sets can be calculated using
  1160. just the formula z^2+c (the "classic" Julia"), so that this type is
  1161. redundant, but we include it for reason of it's prominence in the history
  1162. of fractals.
  1163. ;
  1164. ;
  1165. ~Topic=Mandellambda Sets, Label=HT_MLAMBDA
  1166. (type=mandellambda)
  1167.  
  1168. This type is the "Mandelbrot equivalent" of the {=HT_LAMBDA lambda} set.
  1169. A comment is
  1170. in order here. Almost all the Fractint "Mandelbrot" sets are created from
  1171. orbits generated using formulas like z(n+1) = f(z(n),C), with z(0) and C
  1172. initialized to the complex value corresponding to the current pixel. Our
  1173. reasoning was that "Mandelbrots" are maps of the corresponding "Julias".
  1174. Using this scheme each pixel of a "Mandelbrot" is colored the same as the
  1175. Julia set corresponding to that pixel. However, Kevin Allen informs us
  1176. that the MANDELLAMBDA set appears in the literature with z(0) initialized
  1177. to a critical point (a point where the derivative of the formula is zero),
  1178. which in this case happens to be the point (.5,0). Since Kevin knows more
  1179. about Dr. Mandelbrot than we do, and Dr. Mandelbrot knows more about
  1180. fractals than we do, we defer! Starting with version 14 Fractint
  1181. calculates MANDELAMBDA Dr. Mandelbrot's way instead of our way. But ALL
  1182. THE OTHER "Mandelbrot" sets in Fractint are still calculated OUR way!
  1183. (Fortunately for us, for the classic Mandelbrot Set these two methods are
  1184. the same!)
  1185.  
  1186. Well now, folks, apart from questions of faithfulness to fractals named in
  1187. the literature (which we DO take seriously!), if a formula makes a
  1188. beautiful fractal, it is not wrong. In fact some of the best fractals in
  1189. Fractint are the results of mistakes! Nevertheless, thanks to Kevin for
  1190. keeping us accurate!
  1191.  
  1192. (See description of "initorbit=" command in {Image Calculation Parameters}
  1193. for a way to experiment with different orbit intializations).
  1194. ;
  1195. ;
  1196. ~Topic=Circle, Label=HT_CIRCLE
  1197. (type=circle)
  1198.  
  1199. This fractal types is from A. K. Dewdney's "Computer Recreations" column
  1200. in "Scientific American". It is attributed to John Connett of the 
  1201. University of Minnesota.
  1202.  
  1203. (Don't tell anyone, but this fractal type is not really a fractal!)
  1204.  
  1205. Fascinating Moire patterns can be formed by calculating x^2 + y^2 for
  1206. each pixel in a piece of the complex plane. After multiplication by a 
  1207. magnification factor (the parameter), the number is truncated to an integer 
  1208. and mapped to a color via color = value modulo (number of colors). That is, 
  1209. the integer is divided by the number of colors, and the remainder is the 
  1210. color index value used.  The resulting image is not a fractal because all 
  1211. detail is lost after zooming in too far. Try it with different resolution 
  1212. video modes - the results may surprise you!
  1213. ;
  1214. ;
  1215. ~Topic=Plasma Clouds, Label=HT_PLASMA
  1216. (type=plasma)
  1217.  
  1218. Plasma clouds ARE real live fractals, even though we didn't know it at
  1219. first. They are generated by a recursive algorithm that randomly picks
  1220. colors of the corner of a rectangle, and then continues recursively
  1221. quartering previous rectangles. Random colors are averaged with those of
  1222. the outer rectangles so that small neighborhoods do not show much change,
  1223. for a smoothed-out, cloud-like effect. The more colors your video mode
  1224. supports, the better.  The result, believe it or not, is a fractal
  1225. landscape viewed as a contour map, with colors indicating constant
  1226. elevation.  To see this, save and view with the <3> command
  1227. (see {\"3D\" Images})
  1228. and your "cloud" will be converted to a mountain!
  1229.  
  1230. You've GOT to try {=@ColorCycling color cycling} on these (hit "+" or "-").
  1231. If you
  1232. haven't been hypnotized by the drawing process, the writhing colors will
  1233. do it for sure. We have now implemented subliminal messages to exploit the
  1234. user's vulnerable state; their content varies with your bank balance,
  1235. politics, gender, accessibility to a Fractint programmer, and so on. A
  1236. free copy of Microsoft C to the first person who spots them.
  1237.  
  1238. This type accepts four parameters.
  1239.  
  1240. The first determines how abruptly the colors change. A value of .5 yields
  1241. bland clouds, while 50 yields very grainy ones. The default value is 2.
  1242.  
  1243. The second determines whether to use the original algorithm (0) or a
  1244. modified one (1). The new one gives the same type of images but draws
  1245. the dots in a different order. It will let you see
  1246. what the final image will look like much sooner than the old one.
  1247.  
  1248. The third determines whether to use a new seed for generating the
  1249. next plasma cloud (0) or to use the previous seed (1).
  1250.  
  1251. The fourth parameter turns on 16-bit .POT output which provides much
  1252. smoother height gradations. This is especially useful for creating 
  1253. mountain landscapes when using the plasma output with a ray tracer
  1254. such as POV-Ray.
  1255.  
  1256. With parameter three set to 1, the next plasma cloud generated will be 
  1257. identical to the previous but at whatever new resolution is desired.
  1258.  
  1259. Zooming is ignored, as each plasma-cloud screen is generated randomly.
  1260.  
  1261. The random number seed used for each plasma image is displayed on the
  1262. <tab> information screen, and can be entered with the command line
  1263. parameter "rseed=" to recreate a particular image. 
  1264.  
  1265. The algorithm is based on the Pascal program distributed by Bret Mulvey as
  1266. PLASMA.ARC. We have ported it to C and integrated it with Fractint's
  1267. graphics and animation facilities. This implementation does not use
  1268. floating-point math. The algorithm was modified starting with version 18 
  1269. so that the plasma effect is independent of screen resolution.
  1270.  
  1271. Saved plasma-cloud screens are EXCELLENT starting images for fractal
  1272. "landscapes" created with the {\"3D\" commands}.
  1273. ;
  1274. ;
  1275. ~Topic=Lambdafn, Label=HT_LAMBDAFN
  1276. (type=lambdafn)
  1277.  
  1278. Function=[sin|cos|sinh|cosh|exp|log|sqr|...]) is specified with this type.
  1279. Prior to version 14, these types were lambdasine, lambdacos, lambdasinh,
  1280. lambdacos, and lambdaexp.  Where we say "lambdasine" or some such below,
  1281. the good reader knows we mean "lambdafn with function=sin".)
  1282.  
  1283. These types calculate the Julia set of the formula lambda*fn(Z), for
  1284. various values of the function "fn", where lambda and Z are both complex.
  1285. Two values, the real and imaginary parts of lambda, should be given in the
  1286. "params=" option.  For the feathery, nested spirals of LambdaSines and the
  1287. frost-on-glass patterns of LambdaCosines, make the real part = 1, and try
  1288. values for the imaginary part ranging from 0.1 to 0.4 (hint: values near
  1289. 0.4 have the best patterns). In these ranges the Julia set "explodes". For
  1290. the tongues and blobs of LambdaExponents, try a real part of 0.379 and an
  1291. imaginary part of 0.479.
  1292.  
  1293. A coprocessor used to be almost mandatory: each LambdaSine/Cosine
  1294. iteration calculates a hyperbolic sine, hyperbolic cosine, a sine, and a
  1295. cosine (the LambdaExponent iteration "only" requires an exponent, sine,
  1296. and cosine operation)!    However, Fractint now computes these
  1297. transcendental functions with fast integer math. In a few cases the fast
  1298. math is less accurate, so we have kept the old slow floating point code.
  1299. To use the old code, invoke with the float=yes option, and, if you DON'T
  1300. have a coprocessor, go on a LONG vacation!
  1301. ;
  1302. ;
  1303. ~Topic=Halley, Label=HT_HALLEY
  1304. (type=halley)
  1305.  
  1306. The Halley map is an algorithm used to find the roots of polynomial
  1307. equations by successive "guesses" that converge on the correct value as
  1308. you feed the results of each approximation back into the formula. It works
  1309. very well -- unless you are unlucky enough to pick a value that is on a
  1310. line BETWEEN two actual roots. In that case, the sequence explodes into
  1311. chaos, with results that diverge more and more wildly as you continue the
  1312. iteration.
  1313.  
  1314. This fractal type shows the results for the polynomial Z(Z^a - 1), which
  1315. has a+1 roots in the complex plane. Use the <T>ype command and enter
  1316. "halley" in response to the prompt. You will be asked for a parameter, the
  1317. "order" of the equation (an integer from 2 through 10 -- 2 for Z(Z^2 - 1),
  1318. 7 for Z(Z^7 - 1), etc.). A second parameter is the relaxation coefficient,
  1319. and is used to control the convergence stability. A number greater than
  1320. one increases the chaotic behavior and a number less than one decreases the
  1321. chaotic behavior. The third parameter is the value used to determine when
  1322. the formula has converged. The test for convergence is
  1323. ||Z(n+1)|^2 - |Z(n)|^2| < epsilon. This convergence test produces the
  1324. whisker-like projections which generally point to a root.
  1325. ;
  1326. ;
  1327. ~Topic=Phoenix, Label=HT_PHOENIX
  1328. (type=phoenix, mandphoenix)
  1329.  
  1330. The phoenix type defaults to the original phoenix curve discovered by
  1331. Shigehiro Ushiki, "Phoenix", IEEE Transactions on Circuits and Systems,
  1332. Vol. 35, No. 7, July 1988, pp. 788-789.  These images do not have the
  1333. X and Y axis swapped as is normal for this type.
  1334.  
  1335. The mandphoenix type is the corresponding Mandelbrot set image of the
  1336. phoenix type.  The spacebar toggles between the two as long as the
  1337. mandphoenix type has an initial Z(0) of (0,0).  The mandphoenix is not
  1338. an effective index to the phoenix type, so explore the wild blue yonder.
  1339.  
  1340. To reproduce the Mandelbrot set image of the phoenix type as shown in
  1341. Stevens' book, "Fractal Programming in C", set initorbit=0/0 on the
  1342. command line or with the <g> key.  The colors need to be rotated one
  1343. position because Stevens uses the values from the previous calculation
  1344. instead of the current calculation to determine when to bailout.
  1345. ;
  1346. ;
  1347. ~Topic=fn||fn Fractals, Label=HT_FNORFN
  1348. (type=lambda(fn||fn), manlam(fn||fn), julia(fn||fn), mandel(fn||fn))
  1349.  
  1350. Two functions=[sin|cos|sinh|cosh|exp|log|sqr|...]) are specified with
  1351. these types.  The two functions are alternately used in the calculation
  1352. based on a comparison between the modulus of the current Z and the
  1353. shift value.  The first function is used if the modulus of Z is less
  1354. than the shift value and the second function is used otherwise.
  1355.  
  1356. The lambda(fn||fn) type calculates the Julia set of the formula
  1357. lambda*fn(Z), for various values of the function "fn", where lambda
  1358. and Z are both complex.  Two values, the real and imaginary parts of
  1359. lambda, should be given in the "params=" option.  The third value is
  1360. the shift value.  The space bar will generate the corresponding
  1361. "psuedo Mandelbrot" set, manlam(fn||fn).
  1362.  
  1363. The manlam(fn||fn) type calculates the "psuedo Mandelbrot" set of the
  1364. formula fn(Z)*C, for various values of the function "fn", where C
  1365. and Z are both complex.  Two values, the real and imaginary parts of
  1366. Z(0), should be given in the "params=" option.  The third value is
  1367. the shift value.  The space bar will generate the corresponding
  1368. julia set, lamda(fn||fn).
  1369.  
  1370. The julia(fn||fn) type calculates the Julia set of the formula
  1371. fn(Z)+C, for various values of the function "fn", where C
  1372. and Z are both complex.  Two values, the real and imaginary parts of
  1373. C, should be given in the "params=" option.  The third value is
  1374. the shift value.  The space bar will generate the corresponding
  1375. mandelbrot set, mandel(fn||fn).
  1376.  
  1377. The mandel(fn||fn) type calculates the Mandelbrot set of the formula
  1378. fn(Z)+C, for various values of the function "fn", where C
  1379. and Z are both complex.  Two values, the real and imaginary parts of
  1380. Z(0), should be given in the "params=" option.  The third value is
  1381. the shift value.  The space bar will generate the corresponding
  1382. julia set, julia(fn||fn).
  1383. ;
  1384. ;
  1385. ~Topic=Mandelfn, Label=HT_MANDFN
  1386. (type=mandelfn)
  1387.  
  1388. Function=[sin|cos|sinh|cosh|exp|log|sqr|...]) is specified with this type.
  1389. Prior to version 14, these types were mandelsine, mandelcos, mandelsinh,
  1390. mandelcos, and mandelexp. Same comment about our lapses into the old
  1391. terminology as above!
  1392.  
  1393. These are "pseudo-Mandelbrot" mappings for the {=HT_LAMBDAFN LambdaFn}
  1394. Julia functions.
  1395. They map to their corresponding Julia sets via the spacebar command in
  1396. exactly the same fashion as the original M/J sets.  In general, they are
  1397. interesting mainly because of that property (the function=exp set in
  1398. particular is rather boring). Generate the appropriate "Mandelfn" set,
  1399. zoom on a likely spot where the colors are changing rapidly, and hit the
  1400. spacebar key to plot the Julia set for that particular point.
  1401.  
  1402. Try "FRACTINT TYPE=MANDELFN CORNERS=4.68/4.76/-.03/.03 FUNCTION=COS" for a
  1403. graphic demonstration that we're not taking Mandelbrot's name in vain
  1404. here. We didn't even know these little buggers were here until Mark
  1405. Peterson found this a few hours before the version incorporating Mandelfns
  1406. was released.
  1407.  
  1408. Note: If you created images using the lambda or mandel "fn" types prior to
  1409. version 14, and you wish to update the fractal information in the "*.fra"
  1410. file, simply read the files and save again. You can do this in batch mode
  1411. via a command line such as:
  1412.  
  1413.      "fractint oldfile.fra savename=newfile.gif batch=yes"
  1414.  
  1415. For example, this procedure can convert a version 13 "type=lambdasine"
  1416. image to a version 14 "type=lambdafn function=sin" GIF89a image.  We do
  1417. not promise to keep this "backward compatibility" past version 14 - if you
  1418. want to keep the fractal information in your *.fra files accurate, we
  1419. recommend conversion.  See {GIF Save File Format}.
  1420. ;
  1421. ;
  1422. ~Topic=Barnsley Mandelbrot/Julia Sets, Label=HT_BARNS
  1423. (type=barnsleym1/.../j3)
  1424.  
  1425. Michael Barnsley has written a fascinating college-level text, "Fractals
  1426. Everywhere," on fractal geometry and its graphic applications. (See
  1427. {Bibliography}.) In it, he applies the principle of the M and J
  1428. sets to more general functions of two complex variables.
  1429.  
  1430. We have incorporated three of Barnsley's examples in Fractint. Their
  1431. appearance suggests polarized-light microphotographs of minerals, with
  1432. patterns that are less organic and more crystalline than those of the M/J
  1433. sets. Each example has both a "Mandelbrot" and a "Julia" type. Toggle
  1434. between them using the spacebar.
  1435.  
  1436. The parameters have the same meaning as they do for the "regular"
  1437. Mandelbrot and Julia. For types M1, M2, and M3, they are used to "warp"
  1438. the image by setting the initial value of Z. For the types J1 through J3,
  1439. they are the values of C in the generating formulas.
  1440.  
  1441. Be sure to try the <O>rbit function while plotting these types.
  1442. ;
  1443. ;
  1444. ~Topic=Barnsley IFS Fractals, Label=HT_IFS
  1445. (type=ifs)
  1446.  
  1447. One of the most remarkable spin-offs of fractal geometry is the ability to
  1448. "encode" realistic images in very small sets of numbers -- parameters for
  1449. a set of functions that map a region of two-dimensional space onto itself.
  1450. In principle (and increasingly in practice), a scene of any level of
  1451. complexity and detail can be stored as a handful of numbers, achieving
  1452. amazing "compression" ratios... how about a super-VGA image of a forest,
  1453. more than 300,000 pixels at eight bits apiece, from a 1-KB "seed" file?
  1454.  
  1455. Again, Michael Barnsley and his co-workers at the Georgia Institute of
  1456. Technology are to be thanked for pushing the development of these iterated
  1457. function systems (IFS).
  1458.  
  1459. When you select this fractal type, Fractint scans the current IFS file
  1460. (default is FRACTINT.IFS, a set of definitions supplied with Fractint) for
  1461. IFS definitions, then prompts you for the IFS name you wish to run. Fern
  1462. and 3dfern are good ones to start with. You can press <F6> at the
  1463. selection screen if you want to select a different .IFS file you've
  1464. written.
  1465.  
  1466. Note that some Barnsley IFS values generate images quite a bit smaller
  1467. than the initial (default) screen. Just bring up the zoom box, center it
  1468. on the small image, and hit <Enter> to get a full-screen image.
  1469.  
  1470. To change the number of dots Fractint generates for an IFS image before
  1471. stopping, you can change the "maximum iterations" parameter on the <X>
  1472. options screen.
  1473.  
  1474. Fractint supports two types of IFS images: 2D and 3D. In order to fully
  1475. appreciate 3D IFS images, since your monitor is presumably 2D, we have
  1476. added rotation, translation, and perspective capabilities. These share
  1477. values with the same variables used in Fractint's other 3D facilities; for
  1478. their meaning see {"Rectangular Coordinate Transformation"}.
  1479. You can enter these values from the command line using:
  1480.  
  1481. rotation=xrot/yrot/zrot       (try 30/30/30)\
  1482. shift=xshift/yshift          (shifts BEFORE applying perspective!)\
  1483. perspective=viewerposition    (try 200)\
  1484.  
  1485. Alternatively, entering <I> from main screen will allow you to modify
  1486. these values. The defaults are the same as for regular 3D, and are not
  1487. always optimum for 3D IFS. With the 3dfern IFS type, try
  1488. rotation=30/30/30. Note that applying shift when using perspective changes
  1489. the picture -- your "point of view" is moved.
  1490.  
  1491. A truly wild variation of 3D may be seen by entering "2" for the stereo
  1492. mode (see {"Stereo 3D Viewing"}),
  1493. putting on red/blue "funny glasses", and watching the fern develop
  1494. with full depth perception right there before your eyes!
  1495.  
  1496. This feature USED to be dedicated to Bruce Goren, as a bribe to get him to
  1497. send us MORE knockout stereo slides of 3D ferns, now that we have made it
  1498. so easy! Bruce, what have you done for us *LATELY* ?? (Just kidding,
  1499. really!)
  1500.  
  1501. Each line in an IFS definition (look at FRACTINT.IFS with your editor for
  1502. examples) contains the parameters for one of the generating functions,
  1503. e.g. in FERN:
  1504. ~Format-
  1505.    a    b     c    d    e    f      p
  1506.  ___________________________________
  1507.    0     0    0  .16    0    0     .01
  1508.  .85   .04 -.04  .85    0  1.6     .85
  1509.  .2   -.26  .23  .22    0  1.6     .07
  1510. -.15   .28  .26  .24    0  .44     .07
  1511.  
  1512. The values on each line define a matrix, vector, and probability:
  1513.     matrix   vector  prob
  1514.     |a b|     |e|     p
  1515.     |c d|     |f|
  1516. ~Format+
  1517.  
  1518. The "p" values are the probabilities assigned to each function (how often
  1519. it is used), which add up to one. Fractint supports up to 32 functions,
  1520. although usually three or four are enough.
  1521.  
  1522. 3D IFS definitions are a bit different.  The name is followed by (3D) in
  1523. the definition file, and each line of the definition contains 13 numbers:
  1524. a b c d e f g h i j k l p, defining:
  1525.     matrix   vector  prob\
  1526.     |a b c|   |j|     p\
  1527.     |d e f|   |k|\
  1528.     |g h i|   |l|\
  1529.  
  1530. ;You can experiment with changes to IFS definitions interactively by using
  1531. ;Fractint's <Z> command.  After selecting an IFS definition, hit <Z> to
  1532. ;bring up the IFS editor. This editor displays the current IFS values, lets
  1533. ;you modify them, and lets you save your modified values as a text file
  1534. ;which you can then merge into an XXX.IFS file for future use with
  1535. ;Fractint.
  1536. ;
  1537. The program FDESIGN can be used to design IFS fractals - see
  1538. {=@FDESIGN FDESIGN}.
  1539.  
  1540. You can save the points in your IFS fractal in the file ORBITS.RAW which is
  1541. overwritten each time a fractal is generated. The program Acrospin can
  1542. read this file and will let you view the fractal from any angle using
  1543. the cursor keys. See {=@ACROSPIN Acrospin}.
  1544. ;
  1545. ;
  1546. ~Topic=Sierpinski Gasket, Label=HT_SIER
  1547. (type=sierpinski)
  1548.  
  1549. Another pre-Mandelbrot classic, this one found by W. Sierpinski around
  1550. World War I. It is generated by dividing a triangle into four congruent
  1551. smaller triangles, doing the same to each of them, and so on, yea, even
  1552. unto infinity. (Notice how hard we try to avoid reiterating "iterating"?)
  1553.  
  1554. If you think of the interior triangles as "holes", they occupy more and
  1555. more of the total area, while the "solid" portion becomes as hopelessly
  1556. fragile as that gasket you HAD to remove without damaging it -- you
  1557. remember, that Sunday afternoon when all the parts stores were closed?
  1558. There's a three-dimensional equivalent using nested tetrahedrons instead
  1559. of triangles, but it generates too much pyramid power to be safely
  1560. unleashed yet.
  1561.  
  1562. There are no parameters for this type. We were able to implement it with
  1563. integer math routines, so it runs fairly quickly even without an FPU.
  1564. ;
  1565. ;
  1566. ~Topic=Quartic Mandelbrot/Julia, Label=HT_MANDJUL4
  1567. (type=mandel4/julia4)
  1568.  
  1569. These fractal types are the moral equivalent of the original M and J sets,
  1570. except that they use the formula Z(n+1) = Z(n)^4 + C, which adds
  1571. additional pseudo-symmetries to the plots. The "Mandel4" set maps to the
  1572. "Julia4" set via -- surprise! -- the spacebar toggle. The M4 set is kind
  1573. of boring at first (the area between the "inside" and the "outside" of the
  1574. set is pretty thin, and it tends to take a few zooms to get to any
  1575. interesting sections), but it looks nice once you get there. The Julia
  1576. sets look nice right from the start.
  1577.  
  1578. Other powers, like Z(n)^3 or Z(n)^7, work in exactly the same fashion. We
  1579. used this one only because we're lazy, and Z(n)^4 = (Z(n)^2)^2.
  1580. ;
  1581. ;
  1582. ~Topic=Distance Estimator
  1583. (distest=nnn/nnn)
  1584.  
  1585. This used to be type=demm and type=demj.  These types have not died, but
  1586. are only hiding!  They are equivalent to the mandel and julia types with
  1587. the "distest=" option selected with a predetermined value.
  1588.  
  1589. The {Distance Estimator Method}
  1590. can be used to produce higher quality images of M and J sets,
  1591. especially suitable for printing in black and white.
  1592.  
  1593. If you have some *.fra files made with the old types demm/demj, you may
  1594. want to convert them to the new form.  See the {=HT_MANDFN Mandelfn}
  1595. section for directions to carry out the conversion.
  1596. ;
  1597. ;
  1598. ~Topic=Pickover Mandelbrot/Julia Types, Label=HT_PICKMJ
  1599. (type=manfn+zsqrd/julfn+zsqrd, manzpowr/julzpowr, manzzpwr/julzzpwr,
  1600. manfn+exp/julfn+exp - formerly included man/julsinzsqrd and
  1601. man/julsinexp which have now been generalized)
  1602.  
  1603. These types have been explored by Clifford A. Pickover, of the IBM Thomas
  1604. J. Watson Research center. As implemented in Fractint, they are regular
  1605. Mandelbrot/Julia set pairs that may be plotted with or without the
  1606. {=@Biomorphs "biomorph"} option Pickover used to create organic-looking
  1607. beasties (see
  1608. below). These types are produced with formulas built from the functions
  1609. z^z, z^n, sin(z), and e^z for complex z. Types with "power" or "pwr" in
  1610. their name have an exponent value as a third parameter. For example,
  1611. type=manzpower params=0/0/2 is our old friend the classical Mandelbrot,
  1612. and type=manzpower params=0/0/4 is the Quartic Mandelbrot. Other values of
  1613. the exponent give still other fractals.  Since these WERE the original
  1614. "biomorph" types, we should give an example.  Try:
  1615.  
  1616.     FRACTINT type=manfn+zsqrd biomorph=0 corners=-8/8/-6/6 function=sin
  1617.  
  1618. to see a big biomorph digesting little biomorphs!
  1619. ;
  1620. ;
  1621. ~Topic=Pickover Popcorn, Label=HT_POPCORN
  1622. (type=popcorn/popcornjul)
  1623.  
  1624. Here is another Pickover idea. This one computes and plots the orbits of
  1625. the dynamic system defined by:
  1626.  
  1627.      x(n+1) = x(n) - h*sin(y(n)+tan(3*y(n))\
  1628.      y(n+1) = y(n) - h*sin(x(n)+tan(3*x(n))\
  1629.  
  1630. with the initializers x(0) and y(0) equal to ALL the complex values within
  1631. the "corners" values, and h=.01.  ALL these orbits are superimposed,
  1632. resulting in "popcorn" effect.  You may want to use a maxiter value less
  1633. than normal - Pickover recommends a value of 50.  As a bonus,
  1634. type=popcornjul shows the Julia set generated by these same equations with
  1635. the usual escape-time coloring. Turn on orbit viewing with the "O"
  1636. command, and as you watch the orbit pattern you may get some insight as to
  1637. where the popcorn comes from. Although you can zoom and rotate popcorn,
  1638. the results may not be what you'd expect, due to the superimposing of
  1639. orbits and arbitrary use of color. Just for fun we added type popcornjul,
  1640. which is the plain old Julia set calculated from the same formula.
  1641. ;
  1642. ;
  1643. ~Topic=Dynamic System, Label=HT_DYNAM
  1644. (type=dynamic, dynamic2)
  1645.  
  1646. These fractals are based on a cyclic system of differential equations:
  1647.      x'(t) = -f(y(t))\
  1648.      y'(t) = f(x(t))\
  1649. These equations are approximated by using a small time step dt, forming
  1650. a time-discrete dynamic system:
  1651.      x(n+1) = x(n) - dt*f(y(n))\
  1652.      y(n+1) = y(n) + dt*f(x(n))\
  1653. The initial values x(0) and y(0) are set to various points in the plane, 
  1654. the dynamic system is iterated, and the resulting orbit points are plotted.
  1655.  
  1656. In fractint, the function f is restricted to:
  1657.       f(k) = sin(k + a*fn1(b*k))
  1658. The parameters are the spacing of the initial points, the time step dt,
  1659. and the parameters (a,b,fn1) that affect the function f.
  1660. Normally the orbit points are plotted individually, but for a negative
  1661. spacing the points are connected.
  1662.  
  1663. This fractal is similar to the {=HT_POPCORN Pickover Popcorn}.
  1664. ~OnlineFF
  1665. A variant is the implicit Euler approximation:
  1666.      y(n+1) = y(n) + dt*f(x(n))\
  1667.      x(n+1) = x(n) - dt*f(y(n+1))\
  1668. This variant results in complex orbits.  The implicit Euler approximation
  1669. is selected by entering dt<0.
  1670.  
  1671. There are two options that have unusual effects on these fractals.  The
  1672. Orbit Delay value controls how many initial points are computed before
  1673. the orbits are displayed on the screen.  This allows the orbit to settle
  1674. down.  The outside=summ option causes each pixel to increment color every
  1675. time an orbit touches it; the resulting display is a 2-d histogram.
  1676.  
  1677. These fractals are discussed in Chapter 14 of Pickover's "Computers,
  1678. Pattern, Chaos, and Beauty".
  1679. ;
  1680. ;
  1681. ~Topic=Mandelcloud, Label=HT_MANDELCLOUD
  1682. (type=mandelcloud)
  1683.  
  1684. This fractal computes the Mandelbrot function, but displays it differently.
  1685. It starts with regularly spaced initial pixels and displays the resulting
  1686. orbits.  This idea is somewhat similar to the {=HT_DYNAM Dynamic System}.
  1687.  
  1688. There are two options that have unusual effects on this fractal.  The
  1689. Orbit Delay value controls how many initial points are computed before
  1690. the orbits are displayed on the screen.  This allows the orbit to settle
  1691. down.  The outside=summ option causes each pixel to increment color every
  1692. time an orbit touches it; the resulting display is a 2-d histogram.
  1693.  
  1694. This fractal was invented by Noel Giffin.
  1695.  
  1696. ;
  1697. ;
  1698. ~Topic=Peterson Variations, Label=HT_MARKS
  1699. (type=marksmandel, marksjulia, cmplxmarksmand, cmplxmarksjul, marksmandelpwr,
  1700. tim's_error)
  1701.  
  1702. These fractal types are contributions of Mark Peterson. MarksMandel and
  1703. MarksJulia are two families of fractal types that are linked in the same
  1704. manner as the classic Mandelbrot/Julia sets: each MarksMandel set can be
  1705. considered as a mapping into the MarksJulia sets, and is linked with the
  1706. spacebar toggle. The basic equation for these sets is:
  1707.       Z(n+1) = ((lambda^exp) * Z(n)^2) + lambda
  1708. where Z(0) = 0.0 and lambda is (x + iy) for MarksMandel. For MarksJulia,
  1709. Z(0) = (x + iy) and lambda is a constant (taken from the MarksMandel
  1710. spacebar toggle, if that method is used). The exponent is a positive
  1711. integer or a complex number. We call these "families" because each value
  1712. of the exponent yields a different MarksMandel set, which turns out to be
  1713. a kinda-polygon with (exponent+1) sides. The exponent value is the third
  1714. parameter, after the "initialization warping" values. Typically one would
  1715. use null warping values, and specify the exponent with something like
  1716. "PARAMS=0/0/4", which creates an unwarped, pentagonal MarksMandel set.
  1717.  
  1718. In the process of coding MarksMandelPwr formula type, Tim Wegner
  1719. created the type "tim's_error" after making an interesting coding mistake.
  1720. ;
  1721. ;
  1722. ~Topic=Unity, Label=HT_UNITY
  1723. (type=unity)
  1724.  
  1725. This Peterson variation began with curiosity about other "Newton-style"
  1726. approximation processes. A simple one,
  1727.  
  1728.    One = (x * x) + (y * y); y = (2 - One) * x;     x = (2 - One) * y;
  1729.  
  1730. produces the fractal called Unity.
  1731.  
  1732. One of its interesting features is the "ghost lines." The iteration loop
  1733. bails out when it reaches the number 1 to within the resolution of a
  1734. screen pixel. When you zoom a section of the image, the bailout criterion
  1735. is adjusted, causing some lines to become thinner and others thicker.
  1736.  
  1737. Only one line in Unity that forms a perfect circle: the one at a radius of
  1738. 1 from the origin. This line is actually infinitely thin. Zooming on it
  1739. reveals only a thinner line, up (down?) to the limit of accuracy for the
  1740. algorithm. The same thing happens with other lines in the fractal, such as
  1741. those around |x| = |y| = (1/2)^(1/2) = .7071
  1742.  
  1743. Try some other tortuous approximations using the {=HT_TEST TEST stub} and
  1744. let us know what you come up with!
  1745. ;
  1746. ;
  1747. ~Topic=Scott Taylor / Lee Skinner Variations, Label=HT_SCOTSKIN
  1748. (type=fn(z*z), fn*fn, fn*z+z, fn+fn, sqr(1/fn), sqr(fn), spider,
  1749. tetrate, manowar)
  1750.  
  1751. Two of Fractint's faithful users went bonkers when we introduced the
  1752. "formula" type, and came up with all kinds of variations on escape-time
  1753. fractals using trig functions.    We decided to put them in as regular
  1754. types, but there were just too many! So we defined the types with variable
  1755. functions and let you, the, overwhelmed user, specify what the functions
  1756. should be! Thus Scott Taylor's "z = sin(z) + z^2" formula type is now the
  1757. "fn+fn" regular type, and EITHER function can be one of sin, cos, tan, cotan,
  1758. sinh, cosh, tanh, cotanh, exp, log, sqr, recip, ident, conj, flip, or cosxx.
  1759. Plus we give you 4 parameters to set, the complex
  1760. coefficients of the two functions!  Thus the innocent-looking "fn+fn" type
  1761. is really 256 different types in disguise, not counting the damage
  1762. done by the parameters!
  1763.  
  1764.  Some functions that require further explanation:
  1765.  
  1766.  conj()   - returns the complex conjugate of the argument. That is, changes
  1767.             sign of the imaginary component of argument: (x,y) becomes (x,-y)
  1768.  ident()  - identity function. Leaves the value of the argument unchanged,
  1769.             acting like a "z" term in a formula.
  1770. ~OnlineFF
  1771.  flip()   - Swap the real and imaginary components of the complex number.
  1772.             e.g. (4,5) would become (5,4)
  1773.  
  1774. Lee informs us that you should not judge fractals by their "outer"
  1775. appearance. For example, the images produced by z = sin(z) + z^2 and z =
  1776. sin(z) - z^2 look very similar, but are different when you zoom in.
  1777. ;
  1778. ;
  1779. ~Topic=Kam Torus, Label=HT_KAM
  1780. (type=kamtorus, kamtorus3d)
  1781.  
  1782. This type is created by superimposing orbits generated by a set of
  1783. equations, with a variable incremented each time.
  1784.  
  1785.      x(0) = y(0) = orbit/3;\
  1786.      x(n+1) = x(n)*cos(a) + (x(n)*x(n)-y(n))*sin(a)\
  1787.      y(n+1) = x(n)*sin(a) - (x(n)*x(n)-y(n))*cos(a)\
  1788.  
  1789. After each orbit, 'orbit' is incremented by a step size. The parameters
  1790. are angle "a", step size for incrementing 'orbit', stop value for 'orbit',
  1791. and points per orbit. Try this with a stop value of 5 with sound=x for
  1792. some weird fractal music (ok, ok, fractal noise)! You will also see the
  1793. KAM Torus head into some chaotic territory that Scott Taylor wanted to
  1794. hide from you by setting the defaults the way he did, but now we have
  1795. revealed all!
  1796.  
  1797. The 3D variant is created by treating 'orbit' as the z coordinate.
  1798.  
  1799. With both variants, you can adjust the "maxiter" value (<X> options
  1800. screen or parameter maxiter=) to change the number of orbits plotted.
  1801. ;
  1802. ;
  1803. ~Topic=Bifurcation, Label=HT_BIF
  1804. (type=bifxxx)
  1805.  
  1806. The wonder of fractal geometry is that such complex forms can arise from
  1807. such simple generating processes. A parallel surprise has emerged in the
  1808. study of dynamical systems: that simple, deterministic equations can yield
  1809. chaotic behavior, in which the system never settles down to a steady state
  1810. or even a periodic loop. Often such systems behave normally up to a
  1811. certain level of some controlling parameter, then go through a transition
  1812. in which there are two possible solutions, then four, and finally a
  1813. chaotic array of possibilities.
  1814.  
  1815. This emerged many years ago in biological models of population growth.
  1816. Consider a (highly over-simplified) model in which the rate of growth is
  1817. partly a function of the size of the current population:
  1818.  
  1819. New Population =  Growth Rate * Old Population * (1 - Old Population)
  1820.  
  1821. where population is normalized to be between 0 and 1. At growth rates less
  1822. than 200 percent, this model is stable: for any starting value, after
  1823. several generations the population settles down to a stable level. But for
  1824. rates over 200 percent, the equation's curve splits or "bifurcates" into
  1825. two discrete solutions, then four, and soon becomes chaotic.
  1826.  
  1827. Type=bifurcation illustrates this model. (Although it's now considered a
  1828. poor one for real populations, it helped get people thinking about chaotic
  1829. systems.) The horizontal axis represents growth rates, from 190 percent
  1830. (far left) to 400 percent; the vertical axis normalized population values,
  1831. from 0 to 4/3. Notice that within the chaotic region, there are narrow
  1832. bands where there is a small, odd number of stable values. It turns out
  1833. that the geometry of this branching is fractal; zoom in where changing
  1834. pixel colors look suspicious, and see for yourself.
  1835.  
  1836. Three parameters apply to bifurcations: Filter Cycles, Seed Population,
  1837. and Function or Beta.
  1838.  
  1839. Filter Cycles (default 1000) is the number of iterations to be done before
  1840. plotting maxiter population values. This gives the iteration time to settle
  1841. into the characteristic patterns that constitute the bifurcation diagram,
  1842. and results in a clean-looking plot.  However, using lower values produces
  1843. interesting results too. Set Filter Cycles to 1 for an unfiltered map.
  1844.  
  1845. Seed Population (default 0.66) is the initial population value from which
  1846. all others are calculated. For filtered maps the final image is independent
  1847. of Seed Population value in the valid range (0.0 < Seed Population < 1.0).
  1848. ~OnlineFF
  1849. Seed Population becomes effective in unfiltered maps - try setting Filter
  1850. Cycles to 1 (unfiltered) and Seed Population to 0.001 ("PARAMS=1/.001" on
  1851. the command line). This results in a map overlaid with nice curves. Each
  1852. Seed Population value results in a different set of curves.
  1853.  
  1854. Function (default "ident") is the function applied to the old population
  1855. before the new population is determined. The "ident" function calculates
  1856. the same bifurcation fractal that was generated before these formulae
  1857. were generalized.
  1858.  
  1859. Beta is used in the bifmay bifurcations and is the power to which the
  1860. denominator is raised.
  1861.  
  1862. Note that fractint normally uses periodicity checking to speed up
  1863. bifurcation computation.  However, in some cases a better quality image
  1864. will be obtained if you turn off periodicity checking with "periodicity=no";
  1865. for instance, if you use a high number of iterations and a smooth
  1866. colormap.
  1867.  
  1868. Many formulae can be used to produce bifurcations.  Mitchel Feigenbaum
  1869. studied lots of bifurcations in the mid-70's, using a HP-65 calculator
  1870. (IBM PCs, Fractals, and Fractint, were all Sci-Fi then !). He studied
  1871. where bifurcations occurred, for the formula r*p*(1-p), the one described
  1872. above.    He found that the ratios of lengths of adjacent areas of
  1873. bifurcation were four and a bit.  These ratios vary, but, as the growth
  1874. rate increases, they tend to a limit of 4.669+.  This helped him guess
  1875. where bifurcation points would be, and saved lots of time.
  1876.  
  1877. When he studied bifurcations of r*sin(PI*p) he found a similar pattern,
  1878. which is not surprising in itself.  However, 4.669+ popped out, again.
  1879. Different formulae, same number ?  Now, THAT's surprising !  He tried many
  1880. other formulae and ALWAYS got 4.669+ - Hot Damn !!!  So hot, in fact, that
  1881. he phoned home and told his Mom it would make him Famous ! He also went on
  1882. to tell other scientists.  The rest is History...
  1883.  
  1884. (It has been conjectured that if Feigenbaum had a copy of Fractint, and
  1885. used it to study bifurcations, he may never have found his Number, as it
  1886. only became obvious from long perusal of hand-written lists of values,
  1887. without the distraction of wild color-cycling effects !).
  1888. ~OnlineFF
  1889. We now know that this number is as universal as PI or E. It appears in
  1890. situations ranging from fluid-flow turbulence, electronic oscillators,
  1891. chemical reactions, and even the Mandelbrot Set - yup, fraid so:
  1892. "budding" of the Mandelbrot Set along the negative real axis occurs at
  1893. intervals determined by Feigenbaum's Number, 4.669201660910.....
  1894.  
  1895. Fractint does not make direct use of the Feigenbaum Number (YET !).
  1896. However, it does now reflect the fact that there is a whole sub-species of
  1897. Bifurcation-type fractals.  Those implemented to date, and the related
  1898. formulae, (writing P for pop[n+1] and p for pop[n]) are :
  1899.  
  1900.   bifurcation  P =  p + r*fn(p)*(1-fn(p))  Verhulst Bifurcations.\
  1901.   biflambda    P =      r*fn(p)*(1-fn(p))  Real equivalent of Lambda Sets.\
  1902.   bif+sinpi    P =  p + r*fn(PI*p)         Population scenario based on...\
  1903.   bif=sinpi    P =      r*fn(PI*p)         ...Feigenbaum's second formula.\
  1904.   bifstewart   P =      r*fn(p)*fn(p) - 1  Stewart Map.\
  1905.   bifmay       P =      r*p / ((1+p)^b)    May Map.\
  1906.  
  1907. It took a while for bifurcations to appear here, despite them being over a
  1908. century old, and intimately related to chaotic systems. However, they are
  1909. now truly alive and well in Fractint!
  1910. ;
  1911. ;
  1912. ~Topic=Orbit Fractals
  1913.  
  1914. Orbit Fractals are generated by plotting an orbit path in two or three
  1915. dimensional space.
  1916.  
  1917. See {Lorenz Attractors}, {Rossler Attractors},
  1918. {Henon Attractors}, {Pickover Attractors}, {Gingerbreadman},
  1919. and {Martin Attractors}.
  1920.  
  1921. The orbit trajectory for these types can be saved in the file ORBITS.RAW
  1922. by invoking
  1923. Fractint with the "orbitsave=yes" command-line option.  This file will
  1924. be overwritten each time you generate a new fractal, so rename it if you
  1925. want to save it.  A nifty program called Acrospin can read these files and
  1926. rapidly rotate them in 3-D - see {=@ACROSPIN Acrospin}.
  1927. ;
  1928. ;
  1929. ~Topic=Lorenz Attractors, Label=HT_LORENZ
  1930. (type=lorenz/lorenz3d)
  1931.  
  1932. The "Lorenz Attractor" is a "simple" set of three deterministic equations
  1933. developed by Edward Lorenz while studying the non- repeatability of
  1934. weather patterns.  The weather forecaster's basic problem is that even
  1935. very tiny changes in initial patterns ("the beating of a butterfly's
  1936. wings" - the official term is "sensitive dependence on initial
  1937. conditions") eventually reduces the best weather forecast to rubble.
  1938.  
  1939. The lorenz attractor is the plot of the orbit of a dynamic system
  1940. consisting of three first order non-linear differential equations. The
  1941. solution to the differential equation is vector-valued function of one
  1942. variable.  If you think of the variable as time, the solution traces an
  1943. orbit.    The orbit is made up of two spirals at an angle to each other in
  1944. three dimensions. We change the orbit color as time goes on to add a
  1945. little dazzle to the image.  The equations are:
  1946.  
  1947.         dx/dt = -a*x + a*y\
  1948.         dy/dt =  b*x - y   -z*x\
  1949.         dz/dt = -c*z + x*y\
  1950.  
  1951. We solve these differential equations approximately using a method known
  1952. as the first order taylor series.  Calculus teachers everywhere will kill
  1953. us for saying this, but you treat the notation for the derivative dx/dt as
  1954. though it really is a fraction, with "dx" the small change in x that
  1955. happens when the time changes "dt".  So multiply through the above
  1956. equations by dt, and you will have the change in the orbit for a small
  1957. time step. We add these changes to the old vector to get the new vector
  1958. after one step. This gives us:
  1959.  
  1960.          xnew = x + (-a*x*dt) + (a*y*dt)\
  1961.          ynew = y + (b*x*dt) - (y*dt) - (z*x*dt)\
  1962.          znew = z + (-c*z*dt) + (x*y*dt)\
  1963.  
  1964.          (default values: dt = .02, a = 5, b = 15, c = 1)
  1965.  
  1966. We connect the successive points with a line, project the resulting 3D
  1967. orbit onto the screen, and voila! The Lorenz Attractor!
  1968.  
  1969. We have added two versions of the Lorenz Attractor.  "Type=lorenz" is the
  1970. Lorenz attractor as seen in everyday 2D.  "Type=lorenz3d" is the same set
  1971. of equations with the added twist that the results are run through our
  1972. perspective 3D routines, so that you get to view it from different angles
  1973. (you can modify your perspective "on the fly" by using the <I> command.)
  1974. If you set the "stereo" option to "2", and have red/blue funny glasses on,
  1975. you will see the attractor orbit with depth perception.
  1976.  
  1977. Hint: the default perspective values (x = 60, y = 30, z = 0) aren't the
  1978. best ones to use for fun Lorenz Attractor viewing.  Experiment a bit -
  1979. start with rotation values of 0/0/0 and then change to 20/0/0 and 40/0/0
  1980. to see the attractor from different angles.- and while you're at it, use a
  1981. non-zero perspective point Try 100 and see what happens when you get
  1982. *inside* the Lorenz orbits.  Here comes one - Duck!  While you are at it,
  1983. turn on the sound with the "X". This way you'll at least hear it coming!
  1984.  
  1985. Different Lorenz attractors can be created using different parameters.
  1986. Four parameters are used. The first is the time-step (dt). The default
  1987. value is .02. A smaller value makes the plotting go slower; a larger value
  1988. is faster but rougher. A line is drawn to connect successive orbit values.
  1989. The 2nd, third, and fourth parameters are coefficients used in the
  1990. differential equation (a, b, and c). The default values are 5, 15, and 1.
  1991. Try changing these a little at a time to see the result.
  1992. ;
  1993. ;
  1994. ~Topic=Rossler Attractors, Label=HT_ROSS
  1995. (type=rossler3D)
  1996.  
  1997. This fractal is named after the German Otto Rossler, a non-practicing
  1998. medical doctor who approached chaos with a bemusedly philosophical
  1999. attitude.  He would see strange attractors as philosophical objects. His
  2000. fractal namesake looks like a band of ribbon with a fold in it. All we can
  2001. say is we used the same calculus-teacher-defeating trick of multiplying
  2002. the equations by "dt" to solve the differential equation and generate the
  2003. orbit.    This time we will skip straight to the orbit generator - if you
  2004. followed what we did above with type {=HT_LORENZ Lorenz} you can easily
  2005. reverse engineer the differential equations.
  2006.  
  2007.          xnew = x - y*dt -     z*dt\
  2008.          ynew = y + x*dt + a*y*dt\
  2009.          znew = z + b*dt + x*z*dt - c*z*dt\
  2010.  
  2011. Default parameters are dt = .04, a = .2, b = .2, c = 5.7
  2012. ;
  2013. ;
  2014. ~Topic=Henon Attractors, Label=HT_HENON
  2015. (type=henon)
  2016.  
  2017. Michel Henon was an astronomer at Nice observatory in southern France. He
  2018. came to the subject of fractals via investigations of the orbits of
  2019. astronomical objects.  The strange attractor most often linked with
  2020. Henon's name comes not from a differential equation, but from the world of
  2021. discrete mathematics - difference equations. The Henon map is an example
  2022. of a very simple dynamic system that exhibits strange behavior. The orbit
  2023. traces out a characteristic banana shape, but on close inspection, the
  2024. shape is made up of thicker and thinner parts.    Upon magnification, the
  2025. thicker bands resolve to still other thick and thin components.  And so it
  2026. goes forever! The equations that generate this strange pattern perform the
  2027. mathematical equivalent of repeated stretching and folding, over and over
  2028. again.
  2029.  
  2030.          xnew =  1 + y - a*x*x\
  2031.          ynew =  b*x\
  2032.  
  2033. The default parameters are a=1.4 and b=.3.
  2034. ;
  2035. ;
  2036. ~Topic=Pickover Attractors, Label=HT_PICK
  2037. (type=pickover)
  2038.  
  2039. Clifford A. Pickover of the IBM Thomas J. Watson Research center is such a
  2040. creative source for fractals that we attach his name to this one only with
  2041. great trepidation.  Probably tomorrow he'll come up with another one and
  2042. we'll be back to square one trying to figure out a name!
  2043.  
  2044. This one is the three dimensional orbit defined by:
  2045.  
  2046.          xnew = sin(a*y) - z*cos(b*x)\
  2047.          ynew = z*sin(c*x) - cos(d*y)\
  2048.          znew = sin(x)\
  2049.  
  2050. Default parameters are: a = 2.24, b = .43, c = -.65, d = -2.43
  2051. ;
  2052. ;
  2053. ~Topic=Gingerbreadman, Label=HT_GINGER
  2054. (type=gingerbreadman)
  2055.  
  2056. This simple fractal is a charming example stolen from "Science of Fractal
  2057. Images", p. 149.
  2058.  
  2059.          xnew = 1 - y + |x|\
  2060.          ynew = x
  2061.  
  2062. The initial x and y values are set by parameters, defaults x=-.1, y = 0.
  2063. ;
  2064. ;
  2065. ~Topic=Martin Attractors, Label=HT_MARTIN
  2066. (type=hopalong/martin)
  2067.  
  2068. These fractal types are from A. K. Dewdney's "Computer Recreations" column
  2069. in "Scientific American". They are attributed to Barry Martin of Aston 
  2070. University in Birmingham, England. 
  2071.  
  2072. Hopalong is an "orbit" type fractal like lorenz. The image is obtained by 
  2073. iterating this formula after setting z(0) = y(0) = 0:\
  2074.       x(n+1) = y(n) - sign(x(n))*sqrt(abs(b*x(n)-c))\
  2075.       y(n+1) = a - x(n)\
  2076. Parameters are a, b, and c. The function "sign()"  returns 1 if the argument 
  2077. is positive, -1 if argument is negative.
  2078.  
  2079. This fractal continues to develop in surprising ways after many iterations.
  2080.  
  2081. Another Martin fractal is simpler. The iterated formula is:\
  2082.       x(n+1) = y(n) - sin(x(n))\
  2083.       y(n+1) = a - x(n)\
  2084. The parameter is "a". Try values near the number pi.
  2085. ;
  2086. ;
  2087. ;
  2088. ~Topic=Icon, Label=HT_ICON
  2089. (type=icon/icon3d)
  2090.  
  2091.   This fractal type was inspired by the book "Symmetry in Chaos"
  2092.   by Michael Field and Martin Golubitsky (ISBN 0-19-853689-5, Oxford Press)
  2093.  
  2094.   To quote from the book's jacket,
  2095.  
  2096.     "Field and Golubitsky describe how a chaotic process eventually can
  2097.     lead to symmetric patterns (in a river, for instance, photographs of
  2098.     the turbulent movement of eddies, taken over time, often reveal
  2099.     patterns on the average."
  2100.  
  2101.   The Icon type implemented here maps the classic population logistic
  2102.   map of bifurcation fractals onto the complex plane in Dn symmetry.
  2103.  
  2104.   The initial points plotted are the more chaotic initial orbits, but
  2105.   as you wait, delicate webs will begin to form as the orbits settle
  2106.   into a more periodic pattern.  Since pixels are colored by the number
  2107.   of times they are hit, the more periodic paths will become clarified
  2108.   with time.  These fractals run continuously.
  2109.  
  2110. There are 6 parameters:  Lambda, Alpha, Beta, Gamma, Omega, and Degree
  2111.     Omega  0 = Dn, or dihedral (rotation + reflectional) symmetry
  2112.           !0 = Zn, or cyclic (rotational) symmetry
  2113.     Degree = n, or Degree of symmetry
  2114. ;
  2115. ;
  2116. ;
  2117. ~Topic=Quaternion, Label=HT_QUAT
  2118. (type=quat,quatjul)
  2119.  
  2120. These fractals are based on quaternions.  Quaternions are an extension of
  2121. complex numbers, with 4 parts instead of 2.  That is, a quaternion Q
  2122. equals a+ib+jc+kd, where a,b,c,d are reals.  Quaternions have rules for
  2123. addition and multiplication.  The normal Mandelbrot and Julia formulas
  2124. can be generalized to use quaternions instead of complex numbers.
  2125.  
  2126. There is one complication.  Complex numbers have 2 parts, so they can
  2127. be displayed on a plane.  Quaternions have 4 parts, so they require 4
  2128. dimensions to view.  That is, the quaternion Mandelbrot set is actually a
  2129. 4-dimensional object.  Each quaternion C generates a 4-dimensional Julia set.
  2130.  
  2131. One method of displaying the 4-dimensional object is to take a 3-dimensional
  2132. slice and render the resulting object in 3-dimensional perspective.
  2133. Fractint isn't that sophisticated, so it merely displays a 2-dimensional
  2134. slice of the resulting object. (Note: Now Fractint is that sophisticated! 
  2135. See the Julibrot type!)
  2136.  
  2137. In fractint, for the Julia set, you can specify the four parameters
  2138. of the quaternion constant: c=(c1,ci,cj,ck), but the 2-dimensional slice 
  2139. of the z-plane Julia set is fixed to (xpixel,ypixel,0,0).
  2140.  
  2141. For the Mandelbrot set, you can specify the position of the c-plane slice:
  2142. (xpixel,ypixel,cj,ck).
  2143.  
  2144. These fractals are discussed in Chapter 10 of Pickover's "Computers,
  2145. Pattern, Chaos, and Beauty".
  2146. ;
  2147. ;
  2148. ~Topic=HyperComplex, Label=HT_HYPERC
  2149. (type=hypercomplex,hypercomplexj)
  2150.  
  2151. These fractals are based on hypercomplex numbers, which like quaternions
  2152. are a four dimensional generalization of complex numbers. It is not 
  2153. possible to fully generalize the complex numbers to four dimensions without
  2154. sacrificing some of the algebraic properties shared by real and complex 
  2155. numbers. Quaternions violate the commutative law of multiplication, which 
  2156. says z1*z2 = z2*z1. Hypercomplex numbers fail the rule that says all non-zero
  2157. elements have multiplicative inverses - that is, if z is not 0, there
  2158. should be a number 1/z such that (1/z)*(z) = 1. This law holds most of the
  2159. time but not all the time for hypercomplex numbers. 
  2160.  
  2161. However hypercomplex numbers have a wonderful property for fractal purposes.
  2162. Every function defined for complex numbers has a simple generalization 
  2163. to hypercomplex numbers. Fractint's implementation takes advantage of this
  2164. by using "fn" variables - the iteration formula is\
  2165.     h(n+1) = fn(h(n)) + C.\
  2166. where "fn" is the hypercomplex generalization of sin, cos, log, sqr etc.
  2167. ~OnlineFF
  2168. You can see 3D versions of these fractals using fractal type Julibrot.
  2169. Hypercomplex numbers were brought to our attention by Clyde Davenport,
  2170. author of "A Hypercomplex Calculus with Applications to Relativity",
  2171. ISBN 0-9623837-0-8.
  2172. ;
  2173. ;
  2174.  
  2175. ~Topic=Cellular Automata, Label=HT_CELLULAR
  2176. (type=cellular)
  2177.  
  2178. These fractals are generated by 1-dimensional cellular automata.  Consider
  2179. a 1-dimensional line of cells, where each cell can have the value 0 or 1.
  2180. In each time step, the new value of a cell is computed from the old value
  2181. of the cell and the values of its neighbors.  On the screen, each horizontal
  2182. row shows the value of the cells at any one time.  The time axis proceeds
  2183. down the screen, with each row computed from the row above.
  2184.  
  2185. Different classes of cellular automata can be described by how many different
  2186. states a cell can have (k), and how many neighbors on each side are examined
  2187. (r).  Fractint implements the binary nearest neighbor cellular automata
  2188. (k=2,r=1), the binary next-nearest neighbor cellular automata (k=2,r=2),
  2189. and the ternary nearest neighbor cellular automata (k=3,r=1) and several
  2190. others.
  2191.  
  2192. The rules used here determine the next state of a given cell by using the
  2193. sum of the states in the cell's neighborhood.  The sum of the cells in the
  2194. neighborhood are mapped by rule to the new value of the cell.  For the
  2195. binary nearest neighbor cellular automata, only the closest neighbor on
  2196. each side is used.  This results in a 4 digit rule controlling the
  2197. generation of each new line:  if each of the cells in the neighborhood is
  2198. 1, the maximum sum is 1+1+1 = 3 and the sum can range from 0 to 3, or 4
  2199. values.  This results in a 4 digit rule.  For instance, in the rule 1010,
  2200. starting from the right we have 0->0, 1->1, 2->0, 3->1.  If the cell's
  2201. neighborhood sums to 2, the new cell value would be 0.
  2202.  
  2203. For the next-nearest cellular automata (kr = 22), each pixel is determined
  2204. from the pixel value and the two neighbors on each side.  This results in
  2205. a 6 digit rule.
  2206.  
  2207. For the ternary nearest neighbor cellular automata (kr = 31), each cell
  2208. can have the value 0, 1, or 2.  A single neighbor on each side is examined,
  2209. resulting in a 7 digit rule.
  2210.  
  2211.   kr  #'s in rule  example rule     | kr  #'s in rule  example rule\
  2212.   21      4        1010             | 42     16        2300331230331001\
  2213.   31      7        1211001          | 23      8        10011001\
  2214.   41     10        3311100320       | 33     15        021110101210010\
  2215.   51     13        2114220444030    | 24     10        0101001110\
  2216.   61     16        3452355321541340 | 25     12        110101011001\
  2217.   22      6        011010           | 26     14        00001100000110\
  2218.   32     11        21212002010      | 27     16        0010000000000110\
  2219.  
  2220. The starting row of cells can be set to a pattern of up to 16 digits or to a
  2221. random pattern.  The borders are set to zeros if a pattern is entered or are
  2222. set randomly if the starting row is set randomly.
  2223.  
  2224. A zero rule will randomly generate the rule to use.
  2225.  
  2226. Hitting the space bar toggles between continuously generating the cellular
  2227. automata and stopping at the end of the current screen.
  2228.  
  2229. Recommended reading:
  2230. "Computer Software in Science and Mathematics", Stephen Wolfram, Scientific
  2231. American, September, 1984.
  2232. "Abstract Mathematical Art", Kenneth E. Perry, BYTE, December, 1986.
  2233. "The Armchair Universe", A. K. Dewdney, W. H. Freeman and Company, 1988.
  2234. "Complex Patterns Generated by Next Nearest Neighbors Cellular Automata",
  2235. Wentian Li, Computers & Graphics, Volume 13, Number 4.
  2236. ;
  2237. ;
  2238. ~Topic=Test, Label=HT_TEST
  2239. (type=test)
  2240.  
  2241. This is a stub that we (and you!) use for trying out new fractal types.
  2242. "Type=test" fractals make use of Fractint's structure and features for
  2243. whatever code is in the routine 'testpt()' (located in the small source
  2244. file TESTPT.C) to determine the color of a particular pixel.
  2245.  
  2246. If you have a favorite fractal type that you believe would fit nicely into
  2247. Fractint, just rewrite the C function in TESTPT.C (or use the prototype
  2248. function there, which is a simple M-set implementation) with an algorithm
  2249. that computes a color based on a point in the complex plane.
  2250.  
  2251. After you get it working, send your code to one of the authors and we
  2252. might just add it to the next release of Fractint, with full credit to
  2253. you. Our criteria are: 1) an interesting image and 2) a formula
  2254. significantly different from types already supported. (Bribery may also
  2255. work. THIS author is completely honest, but I don't trust those other
  2256. guys.) Be sure to include an explanation of your algorithm and the
  2257. parameters supported, preferably formatted as you see here to simplify
  2258. folding it into the documentation.
  2259. ;
  2260. ;
  2261. ~Topic=Formula, Label=HT_FORMULA
  2262. (type=formula)
  2263.  
  2264. This is a "roll-your-own" fractal interpreter - you don't even need a
  2265. compiler!
  2266.  
  2267. To run a "type=formula" fractal, you first need a text file containing
  2268. formulas (there's a sample file - FRACTINT.FRM - included with this
  2269. distribution).    When you select the "formula" fractal type, Fractint scans
  2270. the current formula file (default is FRACTINT.FRM) for formulas, then
  2271. prompts you for the formula name you wish to run.  After prompting for any
  2272. parameters, the formula is parsed for syntax errors and then the fractal
  2273. is generated. If you want to use a different formula file, press <F6> when
  2274. you are prompted to select a formula name.
  2275.  
  2276. There are two command-line options that work with type=formula
  2277. ("formulafile=" and "formulaname="), useful when you are using this
  2278. fractal type in batch mode.
  2279.  
  2280. The following documentation is supplied by Mark Peterson, who wrote the
  2281. formula interpreter:
  2282.  
  2283. Formula fractals allow you to create your own fractal formulas.  The
  2284. general format is:
  2285.  
  2286.    Mandelbrot(XAXIS) \{ z = Pixel:  z = sqr(z) + pixel, |z| <= 4 \}\
  2287.       |     |       |            |           |\
  2288.      Name     Symmetry      Initial      Iteration      Bailout\
  2289.               Condition              Criteria\
  2290.  
  2291. Initial conditions are set, then the iterations performed until the
  2292. bailout criteria is true or 'z' turns into a periodic loop.
  2293. All variables are created automatically by their usage and treated as
  2294. complex.  If you declare 'v = 2' then the variable 'v' is treated as a
  2295. complex with an imaginary value of zero.
  2296.  
  2297. ~Format-
  2298.       Predefined Variables (x, y)
  2299.       --------------------------------------------
  2300.       z         used for periodicity checking
  2301.       p1         parameters 1 and 2
  2302.       p2         parameters 3 and 4
  2303.       pixel      screen coordinates
  2304.           LastSqr        Modulus from the last sqr() function
  2305.           rand           Complex random number
  2306.  
  2307.           Precedence
  2308.           --------------------------------------------
  2309.           1              sin(), cos(), sinh(), cosh(), cosxx(),
  2310.                          tan(), cotan(), tanh(), cotanh(),
  2311.                          sqr, log(), exp(), abs(), conj(), real(),
  2312.                          imag(), flip(), fn1(), fn2(), fn3(), fn4(),
  2313.                          srand()
  2314.           2              - (negation), ^ (power)
  2315.           3              * (multiplication), / (division)
  2316.           4              + (addition), - (subtraction)
  2317.           5              = (assignment)
  2318.           6              < (less than), <= (less than or equal to)
  2319.                          > (greater than), >= (greater than or equal to)
  2320.                          == (equal to), != (not equal to)
  2321.           7              && (logical AND), || (logical OR)
  2322. ~Format+
  2323.  
  2324. Precedence may be overridden by use of parenthesis.  Note the modulus
  2325. squared operator |z| is also parenthetic and always sets the imaginary
  2326. component to zero.  This means 'c * |z - 4|' first subtracts 4 from z,
  2327. calculates the modulus squared then multiplies times 'c'.  Nested modulus
  2328. squared operators require overriding parenthesis:\
  2329.       c * |z + (|pixel|)|\
  2330.  
  2331. The functions fn1(...) to fn4(...) are variable functions - when used,
  2332. the user is prompted at run time (on the <Z> screen) to specify one of
  2333. sin, cos, sinh, cosh, exp, log, sqr, etc. for each required variable function.
  2334.  
  2335. The formulas are performed using either integer or floating point
  2336. mathematics depending on the <F> floating point toggle.  If you do not
  2337. have an FPU then type MPC math is performed in lieu of traditional
  2338. floating point.
  2339.  
  2340. The 'rand' predefined variable is changed with each iteration to a new
  2341. random number with the real and imaginary components containing a value
  2342. between zero and 1. Use the srand() function to initialize the random
  2343. numbers to a consistent random number sequence.  If a formula does not
  2344. contain the srand() function, then the formula compiler will use the system
  2345. time to initialize the sequence.  This could cause a different fractal to be
  2346. generated each time the formula is used depending on how the formula is
  2347. written.
  2348.  
  2349. Remember that when using integer math there is a limited dynamic range, so
  2350. what you think may be a fractal could really be just a limitation of the
  2351. integer math range.  God may work with integers, but His dynamic range is
  2352. many orders of magnitude greater than our puny 32 bit mathematics!  Always
  2353. verify with the floating point <F> toggle.
  2354. ;
  2355. ;
  2356. ~Topic=Frothy Basins, Label=HT_FROTH
  2357. (type=frothybasin)
  2358.  
  2359. Frothy Basins, or Riddled Basins, were discovered by James C. Alexander of
  2360. the University of Maryland.  The discussion below is derived from a two page
  2361. article entitled "Basins of Froth" in Science News, November 14, 1992 and
  2362. from correspondence with others, including Dr. Alexander.
  2363.  
  2364. The equations that generate this fractal are not very different from those
  2365. that generate many other orbit fractals.
  2366.  
  2367. ~Format-
  2368.       z(0) = pixel;
  2369.       z(n+1) = z(n)^2 - c*conj(z(n))
  2370.       where c = 1 + ai,  and  a = 1.02871376822...
  2371. ~Format+
  2372.  
  2373. One of the things that makes this fractal so interesting is the shape of
  2374. the dynamical system's attractors.  It is not at all uncommon for a
  2375. dynamical system to have non-point attractors.  Shapes such as circles are
  2376. very common.  Strange attractors are attractors which are themselves
  2377. fractal.  What is unusual about this system, however, is that the
  2378. attractors intersect.  This is the first case in which such a phenomenon
  2379. has been observed.  The three attractors for this system are made up of
  2380. line segments which overlap to form an equilateral triangle.  This
  2381. attractor triangle can be seen by pressing the 'o' key while the fractal
  2382. is being generated to turn on the "show orbits" option.
  2383.  
  2384. An interesting variation on this fractal can be generated by applying the
  2385. above mapping twice per each iteration.  The result is that each of the
  2386. three attractors is split into two parts, giving the system six
  2387. attractors.
  2388.  
  2389. These are also called "Riddled Basins" because each basin is riddled with
  2390. holes.  Which attractor a point is eventually pulled into is extremely
  2391. sensitive to its initial position.  A very slight change in any direction
  2392. may cause it to end up on a different attractor.  As a result, the basins
  2393. are thoroughly intermingled. The effect appears to be a frothy mixture that
  2394. has been subjected to lots of stirring and folding.
  2395.  
  2396. Pixel color is determined by which attractor captures the orbit.  The shade
  2397. of color is determined by the number of iterations required to capture the
  2398. orbit.  In Fractint, the actual shade of color used depends on how many
  2399. colors are available in the video mode being used.
  2400.  
  2401. If 256 colors are available, the default coloring scheme is determined by
  2402. the number of iterations that were required to capture the orbit.  An
  2403. alternative coloring scheme can be used where the shade is determined by
  2404. the iterations required divided by the maximum iterations.  This method is
  2405. especially useful on deeply zoomed images.
  2406.  
  2407. If only 16 colors are available, then only the alternative coloring
  2408. scheme is used.  If fewer than 16 colors are available, then Fractint
  2409. just colors the basins without any shading.
  2410. ;
  2411. ;
  2412. ~Topic=Julibrots, Label=HT_JULIBROT
  2413. (type=julibrot)
  2414.  
  2415. The Julibrot fractal type uses a general-purpose renderer for visualizing 
  2416. three dimensional solid fractals. Originally Mark Peterson developed
  2417. this rendering mechanism to view a 3-D sections of a 4-D structure he
  2418. called a "Julibrot".  This structure, also called "layered Julia set" in 
  2419. the fractal literature, hinges on the relationship between the Mandelbrot 
  2420. and Julia sets. Each Julia set is created using a fixed value c in the 
  2421. iterated formula z^2 + c. The Julibrot is created by layering Julia sets 
  2422. in the x-y plane and continuously varying c, creating new Julia sets as z is
  2423. incremented. The solid shape thus created is rendered by shading the surface 
  2424. using a brightness inversely proportional to the virtual viewer's eye. 
  2425.  
  2426. Starting with Fractint version 18, the Julibrot engine can be used
  2427. with other Julia formulas besides the classic z^2 + c. The first field on 
  2428. the Julibrot parameter screen lets you select which orbit formula to use.
  2429.  
  2430. You can also use the Julibrot renderer to visualize 3D cross sections of
  2431. true four dimensional Quaternion and Hypercomplex fractals. 
  2432.  
  2433. The Julibrot Parameter Screens
  2434.  
  2435. Orbit Algorithm - select the orbit algorithm to use. The available 
  2436.    possibilities include 2-D Julia and both mandelbrot and Julia variants
  2437.    of the 4-D Quaternion and Hypercomplex fractals.
  2438.  
  2439. Orbit parameters - the next screen lets you fill in any parameters 
  2440.    belonging to the orbit algorithm. This list of parameters is not
  2441.    necessarily the same as the list normally presented for the orbit
  2442.    algorithm, because some of these parameters are used in the Julibrot
  2443.    layering process. 
  2444.  
  2445.    From/To Parameters
  2446.    These parameters allow you to specify the "Mandelbrot" values used to
  2447.    generate the layered Julias. The parameter c in the Julia formulas will
  2448.    be incremented in steps ranging from the "from" x and y values to the
  2449.    "to" x and y values. If the orbit formula is one of the "true" four 
  2450.    dimensional fractal types quat, quatj, hypercomplex, or hypercomplexj, 
  2451.    then these numbers are used with the 3rd and 4th dimensional values.
  2452.  
  2453.    The "from/to" variables are different for the different kinds of orbit
  2454.    algorithm.
  2455.  
  2456.       2D Julia sets - complex number formula z' = f(z) + c\
  2457.          The "from/to" parameters change the values of c.\
  2458.       4D Julia sets - Quaternion or Hypercomplex formula z' = f(z) + c\
  2459.          The four dimensions of c are set by the orbit parameters.\
  2460.          The first two dimensions of z are determined by the corners values.\
  2461.          The third and fourth dimensions of z are the "to/from" variables.\
  2462.       4D Mandelbrot sets - Quaternion or Hypercomplex formula z' = f(z) + c\
  2463.          The first two dimensions of c are determined by the corners values.\
  2464.          The third and fourth dimensions of c are the "to/from" variables.\
  2465.  
  2466. Distance between the eyes - set this to 2.5 if you want a red/blue
  2467.    anaglyph image, 0 for a normal greyscale image.
  2468.  
  2469. Number of z pixels - this sets how many layers are rendered in the screen
  2470.    z-axis. Use a higher value with higher resolution video modes.
  2471.  
  2472. The remainder of the parameters are needed to construct the red/blue
  2473. picture so that the fractal appears with the desired depth and proper 'z'
  2474. location.  With the origin set to 8 inches beyond the screen plane and the
  2475. depth of the fractal at 8 inches the default fractal will appear to start
  2476. at 4 inches beyond the screen and extend to 12 inches if your eyeballs are
  2477. 2.5 inches apart and located at a distance of 24 inches from the screen.
  2478. The screen dimensions provide the reference frame.
  2479.  
  2480. ;
  2481. ;
  2482. ~Topic=Diffusion Limited Aggregation, Label=HT_DIFFUS
  2483. (type=diffusion)
  2484.  
  2485. This type begins with a single point in the center of the screen.
  2486. Subsequent points move around randomly until coming into contact with the
  2487. first point, at which time their locations are fixed and they are colored
  2488. randomly.  This process repeats until the fractals reaches the edge of the
  2489. screen.  Use the show orbits function to see the points' random motion.
  2490.  
  2491. One unfortunate problem is that on a large screen, this process will tend
  2492. to take eons.  To speed things up, the points are restricted to a box
  2493. around the initial point.  The first and only parameter to diffusion
  2494. contains the size of the border between the fractal and the edge of the
  2495. box.  If you make this number small, the fractal will look more solid and
  2496. will be generated more quickly.
  2497.  
  2498. Diffusion was inspired by a Scientific American article a couple of years
  2499. back which includes actual pictures of real physical phenomena that behave
  2500. like this.
  2501.  
  2502. Thanks to Adrian Mariano for providing the diffusion code and
  2503. documentation. Juan J. Buhler added the additional options.
  2504. ;
  2505. ;
  2506. ~Topic=Lyapunov Fractals, Label=HT_LYAPUNOV
  2507. (type=lyapunov)
  2508.  
  2509. The Bifurcation fractal illustrates what happens in a simple population
  2510. model as the growth rate increases.  The Lyapunov fractal expands that model
  2511. into two dimensions by letting the growth rate vary in a periodic fashion
  2512. between two values.  Each pair of growth rates is run through a logistic
  2513. population model and a value called the Lyapunov Exponent is calculated for
  2514. each pair and is plotted. The Lyapunov Exponent is calculated by adding up
  2515. log | r - 2*r*x| over many cycles of the population model and dividing by the
  2516. number of cycles. Negative Lyapunov exponents indicate a stable, periodic
  2517. behavior and are plotted in color. Positive Lyapunov exponents indicate
  2518. chaos (or a diverging model) and are colored black.
  2519.  
  2520. Order parameter.
  2521. Each possible periodic sequence yields a two dimensional space to explore.
  2522. The Order parameter selects a sequence.  The default value 0 represents the
  2523. sequence ab which alternates between the two values of the growth parameter.
  2524. On the screen, the a values run vertically and the b values run
  2525. horizontally. Here is how to calculate the space parameter for any desired
  2526. sequence.  Take your sequence of a's and b's and arrange it so that it starts
  2527. with at least 2 a's and ends with a b. It may be necessary to rotate the
  2528. sequence or swap a's and b's. Strike the first a and the last b off the list
  2529. and replace each remaining a with a 1 and each remaining b with a zero.
  2530. Interpret this as a binary number and convert it into decimal.
  2531.  
  2532. An Example.
  2533. I like sonnets.  A sonnet is a poem with fourteen lines that has the
  2534. following rhyming sequence: abba abba abab cc.  Ignoring the rhyming couplet
  2535. at the end, let's calculate the Order parameter for this pattern.
  2536.  
  2537.   abbaabbaabab         doesn't start with at least 2 a's \
  2538.   aabbaabababb         rotate it \
  2539.   1001101010           drop the first and last, replace with 0's and 1's \
  2540.   512+64+32+8+2 = 618
  2541.  
  2542. An Order parameter of 618 gives the Lyapunov equivalent of a sonnet.  "How do
  2543. I make thee? Let me count the ways..."
  2544.  
  2545. Population Seed.
  2546. When two parts of a Lyapunov overlap, which spike overlaps which is strongly
  2547. dependent on the initial value of the population model.  Any changes from
  2548. using a different starting value between 0 and 1 may be subtle. The values 0
  2549. and 1 are interpreted in a special manner. A Seed of 1 will choose a random
  2550. number between 0 and 1 at the start of each pixel. A Seed of 0 will suppress
  2551. resetting the seed value between pixels unless the population model diverges
  2552. in which case a random seed will be used on the next pixel.
  2553.  
  2554. Filter Cycles.
  2555. Like the Bifurcation model, the Lyapunov allow you to set the number of
  2556. cycles that will be run to allow the model to approach equilibrium before
  2557. the lyapunov exponent calculation is begun. The default value of 0 uses one
  2558. half of the iterations before beginning the calculation of the exponent.
  2559.  
  2560. Reference.
  2561. A.K. Dewdney, Mathematical Recreations, Scientific American, Sept. 1991
  2562. ;
  2563. ;
  2564. ~Topic=Magnetic Fractals, Label=HT_MAGNET
  2565. (type=magnet1m/.../magnet2j)
  2566.  
  2567. These fractals use formulae derived from the study of hierarchical
  2568. lattices, in the context of magnetic renormalisation transformations.
  2569. This kinda stuff is useful in an area of theoretical physics that deals
  2570. with magnetic phase-transitions (predicting at which temperatures a given
  2571. substance will be magnetic, or non-magnetic).  In an attempt to clarify
  2572. the results obtained for Real temperatures (the kind that you and I can
  2573. feel), the study moved into the realm of Complex Numbers, aiming to spot
  2574. Real phase-transitions by finding the intersections of lines representing
  2575. Complex phase-transitions with the Real Axis.  The first people to try
  2576. this were two physicists called Yang and Lee, who found the situation a
  2577. bit more complex than first expected, as the phase boundaries for Complex
  2578. temperatures are (surprise!) fractals.
  2579.  
  2580. And that's all the technical (?) background you're getting here!  For more
  2581. details (are you SERIOUS ?!) read "The Beauty of Fractals".  When you
  2582. understand it all, you might like to rewrite this section, before you
  2583. start your new job as a professor of theoretical physics...
  2584.  
  2585. In Fractint terms, the important bits of the above are "Fractals",
  2586. "Complex Numbers", "Formulae", and "The Beauty of Fractals".  Lifting the
  2587. Formulae straight out of the Book and iterating them over the Complex
  2588. plane (just like the Mandelbrot set) produces Fractals.
  2589.  
  2590. The formulae are a bit more complicated than the Z^2+C used for the
  2591. Mandelbrot Set, that's all.  They are :
  2592.  
  2593. ~Format-
  2594.           [          ] 2
  2595.           |  Z^2 + (C-1)  |
  2596.     MAGNET1 : | ------------- | 
  2597.           |  2*Z + (C-2)  |
  2598.           [          ]
  2599.  
  2600.           [                        ] 2
  2601.           |     Z^3 + 3*(C-1)*Z + (C-1)*(C-2)        |
  2602.     MAGNET2 : | --------------------------------------- | 
  2603.           |  3*(Z^2) + 3*(C-2)*Z + (C-1)*(C-2) + 1  |
  2604.           [                        ]
  2605. ~Format+
  2606.  
  2607. These aren't quite as horrific as they look (oh yeah ?!) as they only
  2608. involve two variables (Z and C), but cubing things, doing division, and
  2609. eventually squaring the result (all in Complex Numbers) don't exactly
  2610. spell S-p-e-e-d !  These are NOT the fastest fractals in Fractint !
  2611.  
  2612. As you might expect, for both formulae there is a single related
  2613. Mandelbrot-type set (magnet1m, magnet2m) and an infinite number of related
  2614. Julia-type sets (magnet1j, magnet2j), with the usual toggle between the
  2615. corresponding Ms and Js via the spacebar.
  2616.  
  2617. If you fancy delving into the Julia-types by hand, you will be prompted
  2618. for the Real and Imaginary parts of the parameter denoted by C.  The
  2619. result is symmetrical about the Real axis (and therefore the initial image
  2620. gets drawn in half the usual time) if you specify a value of Zero for the
  2621. Imaginary part of C.
  2622.  
  2623. Fractint Historical Note:  Another complication (besides the formulae) in
  2624. implementing these fractal types was that they all have a finite attractor
  2625. (1.0 + 0.0i), as well as the usual one (Infinity).  This fact spurred the
  2626. development of Finite Attractor logic in Fractint.  Without this code you
  2627. can still generate these fractals, but you usually end up with a pretty
  2628. boring image that is mostly deep blue "lake", courtesy of Fractint's
  2629. standard {Periodicity Logic}.
  2630. See {Finite Attractors} for more
  2631. information on this aspect of Fractint internals.
  2632.  
  2633. (Thanks to Kevin Allen for Magnetic type documentation above).
  2634. ;
  2635. ;
  2636. ~Topic=L-Systems, Label=HT_LSYS
  2637. (type=lsystem)
  2638.  
  2639. These fractals are constructed from line segments using rules specified in
  2640. drawing commands.  Starting with an initial string, the axiom,
  2641. transformation rules are applied a specified number of times, to produce
  2642. the final command string which is used to draw the image.
  2643.  
  2644. Like the type=formula fractals, this type requires a separate data file.
  2645. A sample file, FRACTINT.L, is included with this distribution.    When you
  2646. select type lsystem, the current lsystem file is read and you are asked
  2647. for the lsystem name you wish to run. Press <F6> at this point if you wish
  2648. to use a different lsystem file. After selecting an lsystem, you are asked
  2649. for one parameter - the "order", or number of times to execute all the
  2650. transformation rules.  It is wise to start with small orders, because the
  2651. size of the substituted command string grows exponentially and it is very
  2652. easy to exceed your resolution.  (Higher orders take longer to generate
  2653. too.)  The command line options "lname=" and "lfile=" can be used to over-
  2654. ride the default file name and lsystem name.
  2655.  
  2656. Each L-System entry in the file contains a specification of the angle, the
  2657. axiom, and the transformation rules.  Each item must appear on its own
  2658. line and each line must be less than 160 characters long.
  2659.  
  2660. The statement "angle n" sets the angle to 360/n degrees; n must be an
  2661. integer greater than two and less than fifty.
  2662.  
  2663. "Axiom string" defines the axiom.
  2664.  
  2665. Transformation rules are specified as "a=string" and convert the single
  2666. character 'a' into "string."  If more than one rule is specified for a
  2667. single character all of the strings will be added together.  This allows
  2668. specifying transformations longer than the 160 character limit.
  2669. Transformation rules may operate on any characters except space, tab or
  2670. '}'.
  2671.  
  2672. Any information after a ; (semi-colon) on a line is treated as a comment.
  2673.  
  2674. Here is a sample lsystem:
  2675.  
  2676. ~Format-
  2677. Dragon \{      ; Name of lsystem, \{ indicates start
  2678.   Angle 8     ; Specify the angle increment to 45 degrees
  2679.   Axiom FX     ; Starting character string
  2680.   F=         ; First rule:    Delete 'F'
  2681.   y=+FX--FY+     ; Change 'y' into  "+fx--fy+"
  2682.   x=-FX++FY-     ; Similar transformation on 'x'
  2683. }         ; final } indicates end
  2684.  
  2685. The standard drawing commands are:
  2686.     F Draw forward
  2687.     G Move forward (without drawing)
  2688.     + Increase angle
  2689.     - Decrease angle
  2690.     | Try to turn 180 degrees. (If angle is odd, the turn
  2691.       will be the largest possible turn less than 180 degrees.)
  2692. ~Format+
  2693.  
  2694. These commands increment angle by the user specified angle value. They
  2695. should be used when possible because they are fast. If greater flexibility
  2696. is needed, use the following commands which keep a completely separate
  2697. angle pointer which is specified in degrees.
  2698.  
  2699. ~Format-
  2700.     D    Draw forward
  2701.     M    Move forward
  2702.     \nn Increase angle nn degrees
  2703.     /nn Decrease angle nn degrees
  2704.  
  2705. Color control:
  2706.     Cnn Select color nn
  2707.     <nn Increment color by nn
  2708.     >nn decrement color by nn
  2709.  
  2710. Advanced commands:
  2711.     !      Reverse directions (Switch meanings of +, - and \, /)
  2712.     @nnn  Multiply line segment size by nnn
  2713.       nnn may be a plain number, or may be preceded by
  2714.           I for inverse, or Q for square root.
  2715.           (e.g.  @IQ2 divides size by the square root of 2)
  2716.     [      Push.  Stores current angle and position on a stack
  2717.     ]      Pop.    Return to location of last push
  2718. ~Format+
  2719.  
  2720. Other characters are perfectly legal in command strings.  They are ignored
  2721. for drawing purposes, but can be used to achieve complex translations.
  2722. ;
  2723. ;
  2724. ;
  2725.