home *** CD-ROM | disk | FTP | other *** search
/ Using VRML (Special Edition) / Special_Edition_Using_VRML_CDROM_Que_1996.iso / webpages / software / dos / utils / lparse / tree09.ls < prev    next >
Text File  |  1993-11-23  |  581b  |  30 lines

  1. # --- L-System Parser/Mutator --- Lj Lapre ----------------------------------
  2. #
  3. # 'Trail off Trees'. This is a setup to get all development 
  4. #                    stages of a tree together in one image.
  5. #
  6. 14
  7. 5
  8. 30
  9. #
  10. &(90)H
  11. #
  12. H=f(500)TcH                    # move forward and plant a tree
  13. #
  14. T=[^(90)FFS]                    # the actual tree
  15. S=FFR>(120)R>(120)R>(60)S            # three branches per segment
  16. R=[Ba]                        # a single branch
  17. #
  18. a=$tF[Cx]Fb                    # see bop08.ls
  19. b=$tF[Dy]Fa
  20. #
  21. B=&B                        # angle increments
  22. C=+C
  23. D=-D
  24. #
  25. x=a                        # apical elay
  26. y=b
  27. #
  28. F='(1.25)F'(.8)                    # elongation rate
  29. @
  30.