home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 24b / fr386.zip / FRACT.DOC < prev    next >
Text File  |  1988-01-12  |  2KB  |  30 lines

  1. The program fract.exe and its source file fracta.c are based on the article
  2. in the last issue of M.C. on mandelbrot and julias.  This program will auto-
  3. detect what type of display you have.  I have succesfully tried it with CGA,
  4. EGA, and VGA (640x480).
  5. The program was compiled with Turboc v. 1.5 and it uses the new graphic 
  6. functions in v. 1.5.
  7. I was able to speed up the program about 10% by using C style combined oper-
  8. ators and eliminating Ylast which appeared to be an unnecessary variable.
  9. I only made these changes for the Mandelbrot function.  Perhaps someone else
  10. would like to do some more with this.
  11.  
  12. 1-12-88
  13. The original program fract.exe which I uploaded to the Micro C. bbs on about
  14. 1-07-88 would not work properly unless you had Borland's graphic drivers
  15. on the disk.
  16. In this archive is a new fract.exe which is a stand-alone program.  The 
  17. drivers are built-in for CGA, EGA, HERC, and VGA (640x480).  The variable
  18. names follow the article by Larry Fogg.  This is really Larry's program,
  19. I just modified it to use the Borland graphics since Larry's article was
  20. written around Hercules display.
  21.  
  22. As noted in the article to stop the program press the <ctrl> key and 
  23. then the <enter> key, this will take you back to the menu.
  24. I have not implemented the screen save and view functions.  I have used
  25. EGAPAINT to capture screens after they are finished ( EGAPAINT has a memory
  26. reident screen capture program) and then use EGAPAINT to display the images
  27. later.  It only takes a fraction of a second to fill the screen with the 
  28. saved image.
  29. Bob Hay     YOU CAN SEND ME A MESSAGE ON FIDO 105/1        
  30.