Recreating Richter: Generative Colors in Grid

Was at the SF Museum of Modern art the other day and was inspired to recreate this famous painting by Gerhard Richter in p5.js. It's a good lesson on grids with equal spacing between elements and colorMode in p5.js. We'll play around with random values, but here's how Richter did it according to the audio guide (he ended up with 180 colors, so ended up reusing some colors since there are 256 grid cells).

Watch the Tutorial on YouTubeGet the Project Cloneable

Inside <head> tag

Inside </body> tag