Six lines are defined through the use of seven coordinates. The color of each vertex is specifies using the color attribute and colorPerVertex is set to equal "true".
Snapshot taken of IBMMediaLine.mp4