I'm at work and my Vive is at home, threw together a build that "in theory" works but I have yet to test it. If you wanna take a stab it you can download it here. https://drive.google.com/drive/folders/1uRP9uan3iViBddmQ5iZ3...
or check out the source here https://github.com/matuszeg/wavefunctioncollapse
I'll update the build (and this comment) and make sure it works later when I get back to my Vive.