Truchet Tiles for the Commodore PET

In 1704, a French Domican priest described 30 patterns of tiles, now they are on the PET.

A screenshot showing a complex tile pattern.

Yesterday, Robin “8-Bit Show And Tell” released a YouTube video, demonstrating an implementation for the Commodore 64 of all the 30 original Truchet tile patterns (made of just 4 standard tiles), as described by Sébastien Truchet in his “Mémoire sur les combinations” in 1704.
Since the program was made available in the video discription, I downloaded it and ported it to the PET (any 40-column PETs, that is.)

Here’s the result (reverse-engineered from binary, adapted and re-assembled):

>Emulation: run it online (press any key to cycle through the 30 patterns)