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.
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.
A stripe pattern is formed by drawing the geometric primitives repeatedly, ...