Here's a simple project I made to visualize trigonometric functions. You can change multiple variables in order to change the way the line looks. 0 - Sine, 1 - Cosine, 2 - Tangent
Code taken from my Sine Dodge game. https://scratch.mit.edu/projects/712549959/