That's nice. I'll have to try it on a a random selection of images, but it is definitely interesting.
(I'm a bit confused why you are writing back the current pixel with the same color you just read, and then setting the color of the adjacent pixel one row down to the newly calculated color? Which means you'll be re-reading your new values when processing the next row.
And why x => $w + $i</x> rather than <c>y => $j + 1?)
In reply to Re^6: Randomly biased, random numbers. (A working solution)
by BrowserUk
in thread Randomly biased, random numbers.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |