This diagram shows a visual of how sine and cosine works. It also shows the value of the sine and cosine of the timer. You use the variable “hypotenuse” to change the size of the circle and the length of the hypotenuse(the thick black line). Now, sine does not have to be horizontal, and cosine does not have to be vertical. When you enter a number to find the sine or cosine of it, you think of it as an angle of a right triangle(not the right angle), measured in degrees. The length of the adjacent side of the angle(the one it's touching) ÷ the length of the hypotenuse is the sine, and the length of the opposite(the one it's NOT touching) ÷ the length of the hypotenuse is the cosine. In this diagram, the red and blue lines represent the number you are entering in(timer mod 90). The thick back line is the hypotenuse. The length of the black line from the hypotenuse to the coloured line(depending on the colour of the line) is either the sine or cosine, measured in the unit you input.
Thanks to @samray2010, I added the Tangent (green), which is the height at which a line parallel to the radius intersects the vertical tangent to the circle.