The painting is read into a Markov chain: for every color, the colors found next to it. A new image then grows outward from one random pixel. Each new pixel picks a neighbor that is already painted and takes a color that bordered that neighbor’s color in the painting. The palette and texture carry over, the composition does not.
The original grew one image from a photo dropped onto the page. This version works through a series of Dutch Golden Age paintings and starts the next one when the screen is full. While an image grows, the original’s slider for how the growth spreads, from the oldest edge or the newest, keeps jumping to a new random setting, so the texture changes along the way.