bitpattern.py

magic/bitpattern.py

The inverse of bit2hex.py: reads the stipples section of mos.24bit.dstyle in the current directory and prints each pattern as an 8×8 grid of ones and zeros, so you can see what a style actually looks like without starting magic.

cd magic && python3 bitpattern.py

The filename is hard coded, so run it from this folder.