A cool thing I was experimenting with. Turns out you can use the math function tan for stuff like this! (I'm no math person - I'm only in 5th grade, as of writing — but I found out about this accidentally!) Fullscreen recommended.
Feel free to remix or copy the code and use in your own projects, but please give credit!