Original Post
Im working on a program that uses ifs in order to create an object. Im already have my program done, but i still don't quite understand how you get the numbers.
Here the part of the code from my program.
Koch(0, .5*y, level -1);
Koch(.42*x + -.42*y, .42*x + .42*y + .2, level -1);
Koch(.42*x + .42*y, -.42*x + .42*y + .2, level -1);
Koch(.1*x, .1*y + .2, level -1);
I got the numbers to create this tree http://www.bluesfear.com/temp/tree.gif from another website while trying to find an explination of how to get the numbers. Anyway if anyone could help me out or list some links that help explain this, it would be greatly appreciated.
[edited by - Omicron on November 20, 2003 8:32:34 PM]