As always, things run much quicker in Phosphorus: http://phosphorus.github.io/#75304830 ========================================= I'm quite happy with how this turned out. :D Here's a quick super-simplified explanation of how this works (for more details you'll have to see inside and take a look yourself): 1) We get a list of random colors that will be used in the generated art 2) We make a list with one item for every pixel of the screen 3) We add a few shapes. - a) We pick how much the color value of each pixel affected by the shape should change. The color value of the pixel is then matched up to the list of colors we made in step one (so it's not keeping track of the actual color - it's keeping track of the list item) - b) We go through and modify all of the pixels within the shape by our chosen amount - c) The shape outline is added in black. Black pixels cannot be affected by other shapes. 4) The entire image is rendered based on our chosen pixel colors (remember - we use our list from step one)
Thanks to @gtoal for inspiring me to do all sorts of NPR projects. :D Would love to see a remix with antialiasing! :)