Surface tangent projector (source code)

= Surface tangent projector
{title2=$P=I-\mathbf n\mathbf n$}

The orthogonal projector onto the tangent plane of a surface with unit <normal vector> $\mathbf n$. It removes the normal component of a vector and defines the <surface gradient> $\nabla_s=P\nabla$.