this was so much work i'm about to (wave function) collapse
sorry I used the terms "element", "cell", and "pixel" interchangeably :c
they all mean the same thing!
SEE THE CODE (utilities, etc. coming soon!)
https://gist.github.com/jdah/ad997b858513a278426f8d91317115b9
Oskar Stålberg's visualization tool:
https://oskarstalberg.com/game/wave/wave.html
Thanks to Maxim Gumin for the original implementation of WFC:
https://github.com/mxgmn/WaveFunctionCollapse
TWITTER: https://twitter.com/jdah__
PATREON: https://www.patreon.com/jdah
GITHUB: https://github.com/jdah
EDITOR: NeoVim
CONFIGS: https://github.com/jdah/dotfiles
THEME: gruvbox
RESOURCES:
http://cppreference.com/
http://learnopengl.com
http://opengl-tutorial.org
http://shadertoy.com
http://stackoverflow.com
0:00 Wave Function Collapse
3:29 Code
12:16 Demo
13:16 Extras!