Re: Palette Cycling

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi!

-----Original Message-----
From: Andrew Sharp <asharp at CHILLI.NET.AU>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Friday, January 01, 1999 6:52 PM
Subject: Palette Cycling


>I'm trying to write a proc for cycling the palette ie:- color255 becomes
color254, 254 becomes 253, 253-252 etc right down to color 1 which will
become the original color that 255 was, leaving color0 black. The following
is getting there but it's way to slow. Each set of 255 takes over 3secs. I'd
like the whole palette changed about 10 times per sec.
>Has anyone got any ideas about how to speed it up?


You might try some of the ideas found in this package I wrote some time ago.
There are quite a few examples of palette shifting. The fastest by far is to
use a "double" palette.

http://members.aol.com/EnjoyCruz/palette.zip

hope this helps,

Greg Harris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu