home *** CD-ROM | disk | FTP | other *** search
- name 'Two Dimensional Curves'
- objname '2DCurve01'
- // Adapted from ABOP by HCH
-
- scale .05
-
- axiom ?(-)#(2)MAL
- #define t 0 as "Type,Gosper Hex,Koch Circle,Koch Lattice,Koch Quilt"
- #define j 3 as "Complexity, Low,High",1,4
- #define w 1 as "Width,Thin,Medium,Thick"
- #define d 2 as "Detail,Low,Medium,High,Very High"
- iterations j
- angle 90
- detail 3
- length 100
- radius 20
- bendthresh 30
- etrop .00
-
- rules
- M >> !(w+1*8)
- L : t!0 >> F-F-F-F
- A : d=0 >> #(2)?(-)
- A : d=1 >> #(3)?(*)
- A : d=2 >> #(4)?(#)
- A : d=3 >> #(7)?(*)
- F : t=1 >> FF-F-F-F-F-F+F
- F : t=2 >> FF-F+F-F-FF
- F : t=3 >> FF-F-F-F-FF
- L : t=0 >> FL+(60)FR+(120)FR-(60)FL-(120)FLFL-(60)FR+(60)
- R : t=0 >> -(60)FL+(60)FRFR+(120)FR+(60)FL-(120)FL-(60)FR
-