|
|
1.1 ! root 1: PM LineFractal Program ! 2: ---------------------- ! 3: ! 4: General Description: ! 5: -------------------- ! 6: ! 7: This program draws self-similar fractals defined by transformations ! 8: of the unit interval. By recursively applying the transformation, ! 9: neat drawings result. ! 10: ! 11: Currently you can only choose the built-in transforms. Click on one ! 12: to get that fractal at the current level of recursion. Choose level ! 13: one (from the Fractal attributes dialog box), and one side to the ! 14: frame polygon (same dialog box), to see the transformation itself. ! 15: ! 16: Clicking on the left mouse button causes the fractal to go deeper ! 17: into recursion, while clicking on the right causes it to come back ! 18: out. ! 19: ! 20: In the attributes dialog box you can specify "# sides of polygon", ! 21: which is the number of initial segments to which your transform ! 22: will be applied. You always get a regular polygon of the number ! 23: of sides you choose. ! 24: ! 25: With the current limited set of transforms, you can still get some ! 26: interesting effects by drawing a new fractal on top of old ones ! 27: with varying line attributes. ! 28: ! 29: Note that at recursion level n, an m-segment transform will be ! 30: n ! 31: composed of m line segments. Keep this in mind when playing with ! 32: the 5-segment transforms, namely StovePipe and Esses. ! 33: ! 34: The names are, except for Koch (mathematician who proved, I think, ! 35: that the Koch curve has infinite arc length when the level of recursion ! 36: goes to infinity), weak attempts to describe the basic shape, Esses ! 37: being the most far-fetched (sort of like maybe roughly resembling ! 38: S-curves on a race track?). ! 39: ! 40: ! 41: Description of commands: ! 42: ------------------------ ! 43: ! 44: File ! 45: About ! 46: Show the credits. ! 47: ! 48: Transform ! 49: SharkTooth (2 segments) ! 50: SawTooth (3 segments) ! 51: Koch (4 segments, with two segments causing reflection) ! 52: StovePipe (5 segments, with two segments causing reflection) ! 53: Esses (5 segments) ! 54: ! 55: Click on one of these to select a similarity transform for your ! 56: fractal. ! 57: ! 58: Environment ! 59: Clear bitmap ! 60: Clear the bitmap to the background color. ! 61: ! 62: AutoScale ! 63: If checked, the bitmap will be resized every time you change ! 64: the window size (even if you iconize). ! 65: ! 66: If not checked, the bitmap will stay the same size and won't ! 67: be redrawn when the window size changes. ! 68: ! 69: Line attributes ... ! 70: Calls up a dialog box in which you can select the following ! 71: values: ! 72: ! 73: line color ! 74: line style ! 75: line mix mode ! 76: ! 77: bitmap background color ! 78: ! 79: # sides to initial polygon ! 80: ! 81: number of points sent to GpiPolyLine at a time ! 82: ! 83: level of recursion at which to draw ! 84: ! 85: whether or not to clear the bitmap between fractals ! 86: ! 87: Control ! 88: Redraw ! 89: Forces the fractal to be redrawn. ! 90: ! 91: Abort drawing ! 92: Causes drawing of current fractal, if any, to cease.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.