Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!umd5!ames!pasteur!ucbvax!RITVAX.BITNET!LMB7421 From: LMB7421@RITVAX.BITNET Newsgroups: comp.sys.apple Subject: Re: Fractals (for the ][+) Message-ID: <8803251913.aa16954@SMOKE.BRL.ARPA> Date: 25 Mar 88 20:50:00 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 45 >From: BITNET%"FCTY7023@RYERSON" "Peter Barta" 24-MAR-1988 18:04 >I have an ordinary, 64k Apple II+. Is there some way for me to use your >SLOW fractals program ? It looks very intrigueing! Is the Nibble utility >that you refer to (& for super-high res) available for the II+ or must one >have a GS or something in between? Can you suggest a book or article I >could look up the theory in? Replace all of the &commands with the standard hi-res plot commands.(use HGR2, not HGR) Change the line which says CL=K-INT(K/15)*15+1 to read CL = INT(K/2)*4+3 (I may have changed it so that there's a Palette size where the 15's are - I can't remember..., if so, change the line to read as above anyway) Change the number of colors to be, say, 100 or less (to make up for the lack of speed). Change the MaxX and MaxY to 279,191 (these are currently set to 319,199). Change the FOR-NEXT loop counters as well (if they aren't set with MaxX, MaxY). This should make a black-white Mandelbrot on Hi-res page two... Please pardon the vagueness of this reply, as I don't have the version I sent out in fromt of me...Basic overview: if you want to change this to work on anything else (the program is very general) all you have to do is a) change the graphics commands b) change the MaxX and MaxY (these are the screen dimensions - 1) the two lines that use this are : DX, DY calculation (divide by MaxX,MaxY), and the FOR-NEXT loops c) change the color scheme (this is the change from CL=... to the new one. It is needed when a change in palette arrangement or number of colors occurs) d) change the number of colors simulated to account for the speed of the machine. Hope this helps...good luck. Les Barstow "Phoenix" LMB7421@RITVAX.BITNET ..rutgers!rochester!ritcv!ultb!lmb7421.UUCP 292 Kimball Dr. Rochester, NY 14623 * The above are my own opinions and thoughts...subject to change without * * notice, and as constant as the wind. Do not try to confuse me with the * * facts, and don't expose me to reality...my fantasies are good enough... *