In this example, a triangle is translated horizontally and vertically. A background grid is used to track the translation.