[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Pygame comparison to BlitzBasic



>available colors residing in hardware registers as well it becomes really
easy to make gradients in the background by utilizing one and only
>one "palette color" by changing that same color all the time =) Most Amiga
games seemed to employ this technique.

In fact, not only gradients ;)
The famous "plasma" routines are all based on the copper ability to in fact
change the palette
around 160 times per line... So you had a kind of copperbitmap that you
could directly poke
at each screen blank...
if you made your screen look like a fine mesh of  010101
you could have a very smooth effect by modifying both the first and second
color of the palette.


Plasma:
def - color bars that are applied an effect where each pixel(x,y) is moved
by a X wave x'=sin(y+w1t)
and as well moved by a Y wave of period w2.... y'=sin(x+w2t)

depending on the colors and choice of w1 and w2 you could become really sick
just staring at the screen ;)



____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org