The code below generates coordinate A at (cos 37°, sin 37°).
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{math,calc}
\title{}
\author{}
\date{}
\begin{document}
\maketitle
\tikzmath{\x=37;}
\begin{tikzpicture}
\coordinate (A) at ($cos(\x)(1,0)+sin(\x)(0,1)$);
\end{tikzpicture}
\end{document}
However, when I change the line defining the coordinate to below, it no longer works.
\coordinate (A) at ($(cos(\x),sin(\x))$);
Separating axes could be a pain when there are many of them. How can I write everything in one coordinate?
([x=(45:1cm), y=(-45:2cm)]37: 1)to getcos 37 * (45:1cm) + sin 37 * (-45:2cm). Maybe there's an easier way to specify the coordinates than with all of that math. – Qrrbrbirlbel Sep 22 '22 at 10:53