I had some fun generating jigsaw puzzles in Elm, and cutting out the result with a Lasercutter at a local maker space.
I wrote about it here: https://www.juricho.me/posts/puzzle-generator/
The post turned out to be a bit long and code heavy, I’m still learning how to do exposition that is easy to follow and shows the right level of detail. I hope the pictures and the Ellies make up for it!
I made sure to put the whole thing into a clean code repo that you could step through, so you can also just read that: https://github.com/2mol/jigsaw-tutorial