## Generators for 2-D Shapes

A template is any set of generators. In the case where a template is a line, the generators are the endpoints. In the case where a template is a polygon, the generators are the vectors that define the vertices of the polygon.

A template can be changed or "deformed" into an endless amount of shapes. The importance of a template is that all of the resulting shapes can be related to each other based on the amount of variance each one has from the template. There are many ways to deform a template. One way is to scale the template and another is to rotate the template. To rotate the generators by an angle $$\theta$$ and scale them by a factor $$\rho$$, we perform the following operation:

This page is an introduction to the scaling and rotation of a vector. The generator in this case is the vector (1,0) in black.

Close

$$\theta$$: 0 $$\rho$$: 1