This algorithm was originally called Model Synthesis. I created for my PhD. You should cite the original source for this:
MERRELL, P. 2007. Example-based model synthesis. In I3D ’07: Symposium on Interactive 3D graphics and games, ACM Press, 105–112.
That was published 9 years before Wave Function Collapse and they are the same algorithm. For more information go to: https://paulmerrell.org/model-synthesis/