home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / graphuti / lparser2.zip / TROPISM.LS < prev    next >
Text File  |  1993-10-10  |  507b  |  19 lines

  1. # --- L-System Parser/Mutator --- Lj Lapre --- 
  2. #
  3. # This file is to show the effect of gravity on a form.
  4. # By the use of the new tropism command. First try it 
  5. # with the current rules. Then try C=tFC for rule 3.
  6. #
  7. 36            # recursion
  8. 10            # basic angle
  9. 100            # thickness          
  10. #
  11. A            # axiom
  12. #
  13. A=B>(10)A         # rule 1 : add a branch and roll 10 deg right
  14. B=[&(45)C]        # rule 2 : pitch down 45 deg and start a branch
  15. C=FC            # rule 3 : expand a branch with a forward element
  16. @            # end of ls
  17.  
  18.  
  19.