Visual thinking is the term used commonly in psychology to refer to the type of thinking that results from perceiving or processing visual stimuli, forms, or patterns. Such thinking is a major function of the right hemisphere of the brain, also known (logically enough) as the "visual hemisphere."
There are many puzzle genres that entail the use of visual thinking. One involves geometrical figures (triangles, rectangles, etc.) that embed within them a number of similar smaller figures (triangles, rectangles, etc.). The challenge is to identify how many such figures there are in total. The solution strategy calls for visualizing how parts can be assembled to form wholes (a typical right-hemispheric function). Such puzzles are, thus, exercises in "whole-part" thinking. Some people find them to be among the most frustrating of all puzzle types, since it us not unusual to come up with different answers each time one counts the smaller figures one "sees" in the original figure.
I am not sure who invented this puzzle genre, nor from what era of puzzle history it emerges. It is clear, however, that the ancient geometers constructed figures and geometrical patterns with smaller figures (triangles, circles, rectangles, ellipses, etc.) embedded in them in order to study general geometrical principles, to derive theorems, to prove propositions, and so on. They also invented puzzles and games that involved whole-part thinking. One of these was Archimedes' loculus-a 14-piece puzzle forming a square from which it was possible to form different figures (animals, plants etc.) by rearranging the pieces. An online version of the game, with instructions in Latin, can be found on the Bibliotheca Augustana website. Visual thinking puzzles (of all types) seem to be perfect models for testing the validity of what has been called "field dependence theory" in psychology-a notion that originated with the Gestalt psychologists in the 1930s and from which we probably got our expression "not seeing the forest for the trees."