Winding numbers using a Cauchy integral, with WebGL