My Dither

It’s nearly three in the morning over here. The code that Glenn sent me
was cool, but I wanted something that would dither surfaces as they
were generated. I was sleeping and I had a dream about this algorithm,
and for whatever reason woke up at this ungodly hour. Naturally, I’ve
attempted to implement it and, after about 30 minutes of tom-foolery,
it’s working. It’s not working well, mind you, but it’s working. I’m
gonna go to bed, my eyeballs ache, but I hope this proves interesting to
somebody somewhere.

=Pete

…zzzZZZzzz…zzZZZzzz…
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: gradient.c
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030316/3d400c01/attachment-0007.txt