tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.12 The glow

/pingu/glow = ⟨color⟩(default: pingu@white)

Active a glow around the penguin:

Compiled output

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

/pingu/glow thick = ⟨color⟩

Will pass on the color to /pingu/glow and use a /pingu/glow width function width a thicker line width:

Compiled output

\begin{tikzpicture}
\pingu[glow thick=green]
\end{tikzpicture}

/pingu/glow solid = ⟨color⟩

Will pass on the color to /pingu/glow and use a /pingu/glow width function combined with /pingu/glow function to create a solid glow:

Compiled output

\begin{tikzpicture}
\pingu[glow solid=green, wings wave]
\end{tikzpicture}

/pingu/glow steps = ⟨list⟩(default: 1,1.1,1.2,1.3,1.4,1.5)

Requires glow.

Comma separated list of discrete intervals for the glow calculation:

Compiled output

\begin{tikzpicture}
\pingu[glow=green, glow steps={.3,.5,1}]
\end{tikzpicture}

/pingu/glow function = ⟨function⟩(default: .1/\i)

Requires glow.

Function using the token \i to refer to the current /pingu/glow steps. Its evaluation will be used to determine the opacity of the current step:

Compiled output

\begin{tikzpicture}
\pingu[glow=green,
glow function={.5/\i}]
\end{tikzpicture}

/pingu/glow width function = ⟨function⟩(default: 2.85mm-1.65*\i mm)

Requires glow.

Function using the token \i to refer to the current /pingu/glow steps. Its evaluation will be used to determine the width of the current step:

Compiled output

\begin{tikzpicture}
\pingu[glow=green,
glow width function={5mm-\i mm}]
\end{tikzpicture}