press the left and right arrow keys to rotate the triangle still twitchy
the only way I was able to do this was by reading and re-reading a calculus book. "The Cartoon Guide to Calculus" by Larry Gonick, was my main source of formulas. So when I tried to do a point rotation project, I tried remixing other people's projects, but I couldn't understand their code AT ALL! Then I tried the internet. no help there. just a bunch of random code and formulas that made no sense. then, I looked at that calculus book. I found some very helpful, and simple, formulas that helped. I was able to use them to make my own formulas, which I used in this project. through a little luck, and some playing around and tweaking, I was able to get it to work.