I am trying to make a clock with the tkz-euclide
package using a for loop. I have tried to get it to work but it keeps giving me errors. Here is my MWE
\documentclass[tikz]{standalone}
\usepackage{tkz-euclide}
%\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\def \radius{5cm}
\def \n{12}
\tkzDefPoint(0,0){O}
\tkzDrawCircle[R](O,\radius)
% \tkzDefPoint(90-360/12:5){B}
% \tkzDefPoint(90-360/12:4){C}
% \tkzDrawSegment(B,C)
% \tkzLabelPoint[below](C){1}
% \tkzDrawPoint(B)
\foreach \i in {1,...,\n}
{
\tkzDefPoint(90-1*(360/\n):\radius){t_\i}
\tkzDrawPoint(t_\i)
}
\end{tikzpicture}
\end{document}
It seems to be having problems understanding the angle in the \tkzDefPoint
command. Any suggestions?