home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
GRAPHICS
/
MEANDER.ZIP
/
MEANDER.DOC
< prev
next >
Wrap
Text File
|
1994-01-09
|
747b
|
22 lines
This simple program is in the public domain. Do what ever you like with it.
I will provide answers to any question (you pay long distance -- I call
collect). My number is 1-706-384-4093 as of 1-10-94.
Once executed, this program will ask for the endpoints of the generator of
the linear fractal. Once done, just type 9. Assumed are the endpoints (0,0)
at the beginning, and (1,0) at the end.
Next for the base figure. Same deal. Enter 9 when done. No assumed coords.
Lastly, the order.
For example, the famous Sierpinski's gasket:
Gen: (.5,0) (.25,.43) (.75,.43) (.5,0)
Base: (-1,0) (1,0)
Suggested order: 5
For Koch snowflake:
Gen: (.33,0) (.5,.23) (.66,0)
Base: (-1,1) (1,1) (0,-.732) (-1,1)
Suggested order: 6