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