I'm coding with Vscode and XeLatex. When running the code below, it worked and cost approximately 20s
\documentclass[border={0pt}]{standalone}
\usepackage{tikz,}
\begin{document}
\begin{tikzpicture}
[%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
box/.style={rectangle,draw=black,thick, minimum size=28pt},
]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\foreach \y in {0,2,4,...,100}{
\foreach \x in {0,1,...,100}
\node[box,fill=black] at (\x,\y){};
}
\end{tikzpicture}
\end{document}
But when it comes to the code like this (which I suppose takes the double computational complexity), it would run for no more than 30s and automatically turned off.
\usepackage{tikz,}
\begin{document}
\begin{tikzpicture}
[%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
box/.style={rectangle,draw=black,thick, minimum size=28pt},
]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\foreach \y in {0,2,4,...,100}{
\foreach \x in {0,1,...,100}
\node[box,fill=black] at (\x,\y){};
}
\foreach \y in {1,3,5,...,99}{
\foreach \x in {0,2,...,100}
\node[box,fill=red] at (\x,\y){};
}
\end{tikzpicture}
\end{document}
How can I make it run for 20 seconds more to make it, or it just me misunderstood the information fed back by Tex? If there is anything ambiguous please tell me. Thanks for your help!!