See BP334 for a version of the same idea, but using arbitrary shapes instead of dots.
Odd number of dots vs. even number of dots.
Aaron David Fairbanks