Geometric patterns
The idea of creating a picture by repeatedly drawing several geometric primitives and shifting, rotating, or resizing them in small amounts is known from ancient times. The resultant picture is called a geometric pattern.
Tip
Ethnic ornaments are exciting examples of geometric patterns. Check Google's image search results on the geometric pattern and ethnic ornament to boost your creativity on the topic.
Creating geometric patterns with a computer is super easy, and it's a must-have feature of any video synthesizer. In the rest of the chapter, we will implement a simple but powerful pattern's type in detail, which we call a stripe pattern.
The stripe pattern
A stripe pattern is formed by drawing the geometric primitives repeatedly, placing their centers along some (invisible) curve, such as a straight line, a curved line, or even a spiral. We will call this curve a base curve.
Tip
The reason of naming is that the resultant figure sometimes resembles a stripe.