24 lines
874 B
TeX
24 lines
874 B
TeX
\begin{tikzpicture}
|
|
\input{src/tikz/repeat}
|
|
|
|
\begin{scope}[start chain,node distance=0pt,every node/.style={on chain,prng/element}]
|
|
\node[prng/drawfill=a](a0) {12};
|
|
\foreach[count=\i from 1] \v/\col in {2/a,34/a,85/a,4/a,91/a,29/c,85/c,98/c,3/c,35/c,65/c} {
|
|
\node[prng/drawfill=\col] (a\i) {\v};
|
|
}
|
|
\end{scope}
|
|
|
|
\visible<-1>{
|
|
\begin{scope}[start chain,node distance=0pt,every node/.style={on chain,prng/element}]
|
|
\node[prng/drawfill=b,node distance=5mm,below=of a0](b0) {42};
|
|
\foreach[count=\i from 1] \v/\col in {8/b,9/b,54/b,95/b,80/b,48/c,7/c,10/c,58/c,18/c,44/c} {
|
|
\node[prng/drawfill=\col] (b\i) {\v};
|
|
}
|
|
\end{scope}
|
|
\node[fit=(a0)(b0)(a11)(b11),fit margins={right=2mm},draw,rectangle,dashed,rounded corners]{};
|
|
}
|
|
\visible<2->{
|
|
\node[fit=(a0)(a11),fit margins={right=2mm},draw,rectangle,dashed,rounded corners]{};
|
|
}
|
|
\end{tikzpicture}
|