29 lines
1.0 KiB
TeX
29 lines
1.0 KiB
TeX
\begin{tikzpicture}
|
|
\input{src/tikz/repeat}
|
|
|
|
\visible<1->{
|
|
\begin{scope}[start chain,node distance=0pt,every node/.style={on chain,prng/element}]
|
|
\node[only on=<2-12>{opacity=.8},only on=<2->{prng/drawfill=a}](a0) {12};
|
|
\foreach[count=\i from 3] \v/\col in {2/b,34/a,85/b,4/a,91/b,29/a,85/b,98/a,3/b,35/b,65/a} {
|
|
\node[only on=<\i-12>{opacity=.8},only on=<\i->{prng/drawfill=\col}] {\v};
|
|
}
|
|
\end{scope}
|
|
}
|
|
\visible<14->{
|
|
\begin{scope}[start chain,node distance=0pt,every node/.style={on chain,prng/element}]
|
|
\node[prng/drawfill=b,prng/below=a0](b0) {12};
|
|
\foreach[count=\i from 3] \v/\col in {2/b,34/a,85/a,4/b,91/a,29/a,85/b,98/a,3/b,35/a,65/b} {
|
|
\node[prng/drawfill=\col] {\v};
|
|
}
|
|
\end{scope}
|
|
}
|
|
\visible<15->{
|
|
\begin{scope}[start chain,node distance=0pt,every node/.style={on chain,prng/element}]
|
|
\node[prng/drawfill=b,prng/below=b0](c0) {12};
|
|
\foreach[count=\i from 3] \v/\col in {2/a,34/a,85/a,4/b,91/a,29/b,85/b,98/b,3/b,35/a,65/a} {
|
|
\node[prng/drawfill=\col] {\v};
|
|
}
|
|
\end{scope}
|
|
}
|
|
\end{tikzpicture}
|