Applying a projection to SVG paths