calculations for where the triangle travels is in the shader now, only need to pass the loop duration once (with setup) and the current time each draw.