I think this is the one I was looking for: https://www.reddit.com/r/proceduralgeneration/comments/i17hn6/drawing_randomly_g...
Here is a couple more, they are pretty different from your example, but still related:
Unfortunately, the first two don't have any export capabilities.