tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.36 The cake hat

/pingu/cake-hat = ⟨color⟩(default: pingu@white!92!⟨cake-hat top⟩)

Enable a cake hat with a specific color:

Compiled output

\begin{tikzpicture}
\pingu[cake-hat=green]
\end{tikzpicture}

/pingu/cake-hat top = ⟨color⟩(default: pingu@purple)

Requires cake-hat.

Change the color of the cake hat top:

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat top=green]
\end{tikzpicture}

/pingu/cake-hat shade = ⟨color⟩(default: gray)

Requires cake-hat.

Change the color of the heavily transparent cake hat shading:

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat shade=green]
\end{tikzpicture}

/pingu/cake-hat candle = ⟨color⟩(default: pingu@purple!60!pingu@black)

Requires cake-hat.

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle=green]
\end{tikzpicture}

/pingu/cake-hat candle fire = ⟨color⟩(default: pingu@red)

Requires cake-hat.

Change the color of the cake hats’ candle most outer fire:

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle fire=green]
\end{tikzpicture}

/pingu/cake-hat candle fire 2 = ⟨color⟩(default: ⟨cake-hat candle fire⟩!50!yellow)

Requires cake-hat.

Change the color of the cake hats’ candle middle fire:

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle fire 2=green]
\end{tikzpicture}

/pingu/cake-hat candle fire 3 = ⟨color⟩(default: ⟨cake-hat candle fire 2⟩!50!white)

Requires cake-hat.

Change the color of the cake hats’ candle inner fire:

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle fire 3=green]
\end{tikzpicture}

/pingu/cake-hat candle wick = ⟨color⟩(default: pingu@black)

Requires cake-hat.

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle wick=green]
\end{tikzpicture}

/pingu/cake-hat candle shade = ⟨color⟩(default: gray!80!⟨cake-hat candle back⟩)

Requires cake-hat.

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle shade=green]
\end{tikzpicture}

/pingu/cake-hat candle back = ⟨color⟩(default: ⟨cake-hat candle⟩!85!black)

Requires cake-hat.

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat candle back=green]
\end{tikzpicture}

/pingu/cake-hat outline = ⟨color⟩(default: pingu@black!80!⟨cake-hat⟩)

Requires cake-hat.

Change the color of the cake hats’ outline (width by /pingu/cake-hat outline width):

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat outline=green]
\end{tikzpicture}

/pingu/cake-hat outline width = ⟨length⟩(default: .25pt)

Requires cake-hat.

Change the width of the cake hats’ outline (color by /pingu/cake-hat outline):

Compiled output

\begin{tikzpicture}
\pingu[cake-hat, cake-hat outline width=1mm]
\end{tikzpicture}

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

Requires cake-hat.

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

Compiled output

\begin{tikzpicture}
\pingu[cake-hat,
cake-hat position={1:(-.085cm,-.2cm){1.275}}]
\end{tikzpicture}