home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
24b
/
fr386.zip
/
FRACT.DOC
< prev
next >
Wrap
Text File
|
1988-01-12
|
2KB
|
30 lines
The program fract.exe and its source file fracta.c are based on the article
in the last issue of M.C. on mandelbrot and julias. This program will auto-
detect what type of display you have. I have succesfully tried it with CGA,
EGA, and VGA (640x480).
The program was compiled with Turboc v. 1.5 and it uses the new graphic
functions in v. 1.5.
I was able to speed up the program about 10% by using C style combined oper-
ators and eliminating Ylast which appeared to be an unnecessary variable.
I only made these changes for the Mandelbrot function. Perhaps someone else
would like to do some more with this.
1-12-88
The original program fract.exe which I uploaded to the Micro C. bbs on about
1-07-88 would not work properly unless you had Borland's graphic drivers
on the disk.
In this archive is a new fract.exe which is a stand-alone program. The
drivers are built-in for CGA, EGA, HERC, and VGA (640x480). The variable
names follow the article by Larry Fogg. This is really Larry's program,
I just modified it to use the Borland graphics since Larry's article was
written around Hercules display.
As noted in the article to stop the program press the <ctrl> key and
then the <enter> key, this will take you back to the menu.
I have not implemented the screen save and view functions. I have used
EGAPAINT to capture screens after they are finished ( EGAPAINT has a memory
reident screen capture program) and then use EGAPAINT to display the images
later. It only takes a fraction of a second to fill the screen with the
saved image.
Bob Hay YOU CAN SEND ME A MESSAGE ON FIDO 105/1