Instructions are in game. Making the bit depth proper is going to be a lot harder than I expected.
Original project by: @tomicool Bit depth by me.