tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.34 The crown

/pingu/crown = ⟨color⟩(default: pingu@yellow)

Compiled output

\begin{tikzpicture}
\pingu[crown=green]
\end{tikzpicture}

/pingu/crown 3d = ⟨true/false⟩(default: true)

Requires crown.

Toggle the 3d-Design of the crown.

Compiled output

\begin{tikzpicture}
\pingu[crown, crown 3d=false]
\end{tikzpicture}

/pingu/crown back = ⟨color⟩(default: ⟨crown⟩!93!black)

Requires crown.

Change the back color of the crown:

Compiled output

\begin{tikzpicture}
\pingu[crown, crown back=green]
\end{tikzpicture}

/pingu/crown front bend = ⟨angle⟩(default: 16)

Requires crown.

Change the front lower bend of the crown:

Compiled output

\begin{tikzpicture}
\pingu[crown, crown front bend=52]
\end{tikzpicture}

/pingu/crown back bend = ⟨angle⟩(default: 9)

Requires crown.

Change the back lower bend of the crown:

Compiled output

\begin{tikzpicture}
\pingu[crown, crown back bend=46]
\end{tikzpicture}

/pingu/crown gem shade = ⟨true/false⟩(default: true)

Requires crown.

Toggle the gem shading of the crown.

Compiled output

\begin{tikzpicture}
\pingu[crown, crown gem shade=false]
\end{tikzpicture}

/pingu/crown gem colors = ⟨a><b><c><d><e><f⟩(default: {pingu@purple}{pingu@blue}{pingu@green}{pingu@purple}{pingu@green}{pingu@blue}{pingu@purple})

Requires crown.

Change the color of all the seven gems of the crown:

Compiled output

\begin{tikzpicture}
\pingu[crown, crown gem colors={green}{green}
{green}{white}{green}{green}{green}]
\end{tikzpicture}

/pingu/crown gem ring = ⟨color⟩(default: ⟨crown⟩!85!white)

Requires crown.

Change the color of the rings around the crown:

Compiled output

\begin{tikzpicture}
\pingu[crown, crown gem ring=green]
\end{tikzpicture}

/pingu/crown position = ⟨angle>:(<x>,<y>)<scale⟩(default: -9:(1mm,0mm)1)

Requires crown.

Currently, this is a very cumbersome command to change various crown parameters at the same time:

Compiled output

\begin{tikzpicture}
\pingu[crown, eyes wink,
crown position={1:(-.1cm,-.275cm){1.33}}]
\end{tikzpicture}

/pingu/crown 2d = ⟨color⟩(default: pingu@yellow)

Enables the /pingu/crown with the given color and disables /pingu/crown 3d:

Compiled output

\begin{tikzpicture}
\pingu[crown 2d=green]
\end{tikzpicture}