Code for creating a very wide variety of halftones, halftone shaders, halftone threshold images, dithering, error diffusion, etc.