Text this: The Theory of the Moiré Phenomenon