While there is clearly an infinite number of different ornaments the underlying possible symmetry structures are very restricted. It is a mathematical fact that (as soon as there are translations in different directions) there are only 17 different ways in which rotations, reflections, glide reflections, and translations can interact to form a symmetric pattern. These are the different wallpaper groups.

In the frame on the left you can draw while the program automatically repeats your stroke with respect to the rules of the selected wallpaper group. For instance the simplest group only creates translated copies of your stroke. The more complicated the group gets the more rotated and reflected copies of your stroke are generated. It is an instructive experiment to draw one very simple stroke (say the shape of a letter "F") and by selecting the groups observe the different repetition rules.

Mathematicians and crystallographers like to name different structures. You can see the crystallographic name of the selected group and the so called orbifold symbol (which is preferred by mathematicians) under the drawing frame.