On Thu, Nov 19, 2009 at 11:17 AM, James Cox <[email protected]> wrote: >> Christopher Howard wrote: > Thinking about this some more, the error diffusion is probably not even > necessary. You should be able to get by with some random dithering like > the following (if it wasn't slower than molasses): > > result = floor(input * opacity + g_random_double());
If you pregenerate a lookup table (say 256 entries), keep a counter which cycles 0,1,2,....255,0,1,2,....255, and only add a random integer to that counter at the start of every dab, you could get that going at decent speeds. _______________________________________________ Gimp-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
