Where Shapes Come From