At the end of chapter 3, the "duckumentation" describes how to create a random head decoration or a random accessories without using the \randuck
:

(please notice that \shuffleducks
has to be called each time a new duck shall be created. This is not necessary for the \randuck
, because there this is done automatically)
The same concept can be used for the page numbers:
\documentclass{scrartcl}
\usepackage{scrlayer-scrpage}
\usepackage{tikzducks}
\usepackage{duckuments}% To create a dummy duckument
\setlength{\footheight}{45pt}
\cfoot{%
\shuffleducks
\begin{tikzpicture}[scale=0.5]
\duck[signpost=\scalebox{0.6}{\thepage},\randomhead]
\end{tikzpicture}
}
\pagestyle{scrheadings}
\begin{document}
\duckument
\end{document}
Tip: the source code of the "duckumentation" is available from http://mirrors.ctan.org/graphics/pgf/contrib/tikzducks/tikzducks-doc.tex or https://github.com/samcarter/tikzducks/blob/master/tikzducks-doc.tex in case you'd like to know how do any of the other content.