Question: what is the absolute value of sin?
Answer: The absolute value of an integer or floating point number is the number without its positive or negative sign. The absolute value of a vector is a vector with components stripped of negative signs. translateY = abs( sin(time) ); the absolute value of the sine wave makes for a good bouncing action.