Hilbert-Markov  2018-07-04

screenshot of waveform generator application
Untitled I (Space) // © 2018 Michael Turenne

The algorithm behind this series is really basic but I love how the images turned out! All I did was use a Hilbert curve to map a 2-dimensional image to a 1-dimensional array of color values. Then, I used a bunch of those arrays to train a Markov chain, which I then used to generate some new arrays of colors, and mapped those back into 2-dimensions using the Hilbert curve algorithm again. This set of images was made using a Markov chain trained on images taken by the Hubble Space Telescope.

View the code here (Gist)