-----------------------------------------------
Fractal 1.0 by Ian Goth - c1arinetboy@yahoo.com
-----------------------------------------------

Fractal generates a Fractal image and stores it in Pic0. In addition to the Mandelbrot
and Julia Sets the User can create custom formulas in prgmFRM. The User can zoom in on
the fractal by changing the window variables and change the level of detail by choosing
the number of iterations per pixel. The drawback to this program is that is very slow and
may take several hours to generate an image with higher numbers of iterations. Because of
this it is recommended that you create the image with an emulator like Virtual TI and send
the image to your calculator.

prgmFRM is used to store a custom formula (see below)

------------
Menu choices
------------

1:Mandelbrot - starts generating the Mandelbrot Set
2:Julia - starts generating a fractal from the Julia set based on the complex number
 C which the user inputs
3:Custom - starts generating a fractal from a custom formula
4:Settings - change the number of iterations used and window settings. The default values
 are:

	Iterations = 50
	Xmin = -1.6
	Xmax = 1.6
	Ymin = -1.2
	Ymax = 1.2

5:Quit - quits Fractal

---------------
Custom Formulas
---------------

To create a custom formula, create or edit the program FRM.

Formulas In Fractal have three general parts: a variable definition section,
an Iterated loop, and inside that loop a bailout test. The example below is
of the Julia Set formula (anything after a semicolon is explanation):

	.2-.5i->C	;define variables used. The User may use any or all variables EXCEPT
			; A, B, L, I, Q, and W (L and I may be used as shown in formula ex.)
	For(L,0,I)	;L is just the variable I chose to use for for loops.
			; I is the user inputted number of iterations. If you want
			; to force a certain number of iterations you could use that
			; number instead
	Z^2+C->Z	;This is the operation iterated on Z. You must modify Z in
			; this section but you don't have to change any other variables.
			; Also, this section can be multiple lines
	If abs(Z)>abs(2+2i)	;This is the bailout test section, which tests whether or
				; not the point is attracted by infinty. Unless you know
				; a lot about fractals you should not mess with this area
 	Then
	0->Q		;required part of bailout code. do not change
	I->L		;same here, but if you need replace I with whatever you replaced
			; it with at the beginning of the loop
	End		;ends the if-then statement
	End		;ends the for loop
	Return		;Returns to Fractal required

------------------------------
Tips for better fractal images
------------------------------

Use window values between 2 and -2. if the window is any bigger the fractal will
 be very small.

Try creating your fractal at the default window values first before you try to zoom in.
 This way you can use the picture created to find the necessary window range for zooming.

More iterations will give your fractal higher detail, but it will be limited by the
 screen resolution. Too many iterations could waste time, so 150 iterations is the 
 recommended maximum.

For fractals from the Julia Set, choose a point inside the Mandelbrot Set for best
 results. However, points outside the Mandelbrot Set may work too.

For custom formulas, you can cause the formula to use only 1 iterated loop by adding
 this code at the beginning of the formula:
	Xmax->A
	Ymax->B
 you might be able to use this method to run the Sierpinski Triangle code from the 83+
 Manual through Fractal or something like that.

