Secrets of Primitive Patterns