Skip to content

alexandru-dinu/markov-images

Repository files navigation

Simple image generation using Markov chains

Inspired by a stream from @rexim.

Usage

First, make data dirs, e.g.:

$ ls data/
cifar-10-batches-bin/  mnist-raw/  output/

Next, adjust config.h accordingly, then:

make && ./main

You can view the images, e.g. using feh:

feh -g 512x512 -Z ./data/output

Datasets

Dependencies

stb_image_write.h and stb_ds.h from https://github.com/nothings/stb.

About

Simple image generation using Markov chains

Topics

Resources

License

Stars

Watchers

Forks

Languages