Added uniforms and controls for enableRotation and curveFactor