The Pattern Universe