Imagination, patterns, and visual proofs

What does it mean to understand that something is a pattern? In a puzzle like this: A fairly reliable test is to ask someone to draw the shape that should replace the question mark. This implies that understanding a pattern has something to do with being able to generate more instances of the pattern in question. This in turn suggests a link between pattern recognition and imagination (in this…