The gestalt principles are a set of rules that explain how we perceive complex visual patterns as holistic and organized.