Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pro-lep.cts.com!orcus From: orcus@pro-lep.cts.com (Brian Greenstone) Newsgroups: comp.sys.apple Subject: Re: Apple IIgs SHR fade Message-ID: <8905232156.AA16299@crash.cts.com> Date: 23 May 89 15:31:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: pnet01!pro-nsfmat!pro-lep!orcus@nosc.mil Organization: The Internet Lines: 13 Network Comment: to #3818 by pnet01!crash!uunet.uu.net!microsoft!brianw It seems like most of the suggestions for doing fades are more complicated than they should be. This is how I do my SHR fades: 1] Read each color value out of each palatte. 2] Break the color $0xyz into its three values x y & z 3] Decrement each value until it is 0. 4] Recombine each value back into the $0xyz format. 5] Put back into the palatte. 6] Loop until all colors have been done. 7] Loop 16 times to be sure that all colors have faded completely to black. That's how I do it, and it works evenly and smoothly.