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.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: gradient.c