Koch Snowflake drawer for the TI82
Michael Castleman, mlc@sri.kbt.com

What is KOCHSNOW?
-----------------
KOCHSNOW and its companion program, ZKD, draw the Koch Snowflake, a famous
pseudofractal.

What is a Koch Snowflake?
-------------------------
A Koch Snowflake is simply a triangle. For every recursion, every straight
line (of the form ____) is replaced by a shape of the form _/\_ At 0
recursions, you get a simple triangle. At 1 recursion, you get a `jewish',
or six-pointed, star. Beyond that, it begins to get pretty.

How do I use KOCHSNOW?
----------------------
Run prgmKOCHSNOW from the Home screen. That is, press [PRGM], scroll down
until you get to KOCHSNOW, and hit [ENTER] twice. Once the program starts,
you will be prompted for the number of recursions. I recommend 3 recursions
for the prettiest picture because of the TI-82's limited resolution, but you
may wish to try fewer recursions to see how the snowflake works. Then, just
wait for the program to draw. It's fairly fast; it takes about 75 seconds to
draw 3 recursions on my TI-82 with a mostly full RAM and medium-new
batteries. You can, of course, store the picture in one of the Pic variables
for quick reviewing; consult your manual for further details.

What is ZKD?
------------
ZKD is the recursive part of KOCHSNOW. If you wish, you can try to untangle
my code to see how this works.

What are those symbols in the ASCII program listing?
I can't make that on my TI82!
----------------------------------------------------
Check out http://sri.kbt.com/members/mlc/ti/ti82.txt

Memory Used
-----------

                type Name              Amt
                ---- ----------------- --------------------------
                prgm KOCHSNOW                                319
                     ZKD                                     593
                real I,R,Y                          3 * 15 =  45
                list L1,L2,L3,L4,L5    5 * (recursions * 18 + 26)
                                       --------------------------
                     Total                                varies

All non-program items may be safely deleted with no adverse effects.

Credits
-------
This program was converted from the Turbo Pascal program on page 147 of
_Dictionary_of_Computer_Terms:_3rd_Edition_, by Douglas Downing and
Michael Covington.
If you wish to be able to draw Koch Snowflakes and tons of other cool stuff
on your PC, I suggest Fractint, by the Stone Soup Group. You can find it all
over the place.


For the latest version of this and all my other TI82 programs, you can always
check out my website at
http://sri.kbt.com/members/mlc/ti/ti.html
