Re: Mandlebrot program
- Posted by Kasey <kaeyb at GEOCITIES.COM> May 17, 1998
- 700 views
Kasey wrote: > > If anyone has any interest I've written a short mandlebrot > (fractal) generator. I figured someone might be interested in finding > ways to help me speed it up, I've made some speedups (it's about 2 to 3 > times faster than the original) and in helping me figure out why it > doesn't quite look right. (it's close, but not quite) o.k. I've fixed this problem, the distortion was being created by some code I hadn't completely eliminated when I inlined what was a function call to speed the program up. > Of course if you just want to play with it most of the 'setings' > are in global constants at the top of the file. > I uploaded it at: > this hasn't cahnged: http://www.geocities.com/Area51/Vault/7707/m_brot.txt > all you have to do is save it with the .ex extension instead of .txt > (geocities won't let me u/l it with .ex for an extension) > > Kasey > p.s. it'd probably be pretty easy to get julia sets out of it with minor > editing. it also tells you how long it took to generate the image on your machine(I don't remember if that was in the code when I upped it last night, but it's there now). I'm curious as to how fast it runs on other machines. it takes 2 minutes 41 seconds at 800x600 with a max of 240 itterations per point on mine (amd 5x86-133 (speed <p90 but >p83 w/o mmx) w/16-megs) while running it as a dos prog under win95. Kasey