One way to generate sine and cosine is to track the motion of a rotating vector. Animated.
License: CC BY-NC-SA by Khan Academy