home *** CD-ROM | disk | FTP | other *** search
- Turble Graphics
- Donated to the public domain by:
-
- Bruce McKinney
- 10315 Wallingford Ave. N.
- Seattle, WA 98133
- 206-526-8066
-
- Turble Graphics is a collection of programming tools for Turbo Pascal
- 2.0 on IBM or PC-compatible computers. A graphics board is required.
- The routines use color, but they will also work on a black and white
- graphics monitor.
-
- Version 0.9 is a test version being released locally. Version 1.0
- will be released later as ShareWare. This version contains some
- inconvenient limitations (as noted in the listing comments). Some of
- them will be corrected before version 1.0. Others will have to wait
- for a later release using assembler interfaces. Your suggestions are
- appreciated.
-
- These graphics tools enable you to use the concepts of Turtle
- graphics, which is similar to Logo graphics. Several Pascal
- implementations use Turtle graphics. For example, a turtle graphics
- library is available for Apple computers. Most graphics program
- listings in books about Apple Pascal can be run with little change
- using Turble Graphics.
-
- Before using the procedures, you should find the screen aspect of your
- monitor. Compile and run program ASPECT.PAS. It will draw a vertical
- and a horizontal line. Measure the lines on your screen and enter to
- values as decimal fractions (it's easiest to measure in centimeters).
- The program will return the aspect and maximum height of your screen.
- Fill in these values in place of the sample values in file TURBLE.PAS.
-
- File TURBLE.REF has a list of all the constants, variables,
- procedures, and functions available to you. If you have Sidekick, you
- can put TURBLE.REF in your notepad for instant on-line help.
-
- This program owes a lot to LadyBug, a public domain version of Logo
- Turtle Graphics. I also learned a lot from Tom Swan's book on Apple
- Pascal graphics. Most of the programs in that book could easily be
- adapted for Turble Graphics.
-
- Several programs that use Turble Graphics are provided as samples:
-
- BEEDEMO.PAS Moves a bee across the screen
- FIGDEMO.PAS Draws various figures
- HEXDEMO.PAS Illustrates mode, color, palette, intersects
-
- These programs should give you a good idea of what Turble can do. You
- need to have all Turble programs on the same drive and directory to
- compile and run them. The comments in the programs in the listings
- should explain all. You're on your own. Have fun.
-
-