Click to change the color. If YELLOW, item 1 is R and item 2 is THETA. If PURPLE, item 1 is X and item 2 is Y. The pink ARROW points away from the center.
Feel free to use these algorithms! You don't have to use the following text exactly, but you have to atleast credit me somehow. @argentum47