home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 October - Disc 2 / PCNET_CD_2006_10_2.iso / apps / k3d-all-in-one-setup-0.5.14.0.exe / k3d-setup-0.5.14.0.exe / share / lsystem / tropism.ls < prev    next >
Encoding:
Text File  |  2005-02-12  |  682 b   |  18 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. #
  8. 36                      # recursion
  9. 10                      # basic angle
  10. 100                     # thickness
  11. #
  12. A                       # axiom
  13. #
  14. A=B>(10)A               # rule 1 : add a branch and roll 10 deg right
  15. B=[&(45)C]              # rule 2 : pitch down 45 deg and start a branch
  16. C=FC                    # rule 3 : expand a branch with a forward element
  17. @                       # end of ls
  18.