Tangent field (hair) Index +1 (source/sink) Index −1 (saddle)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Hairy Ball Theorem — Vector Fields on a Sphere

You can't comb the hair on a sphere flat — every continuous tangent vector field on a sphere must have at least one point where it vanishes. This simulator renders a real tangential gradient field on a 3D sphere, sampled as thousands of oriented "hairs", and numerically finds every singularity, classifying each as a source/sink (index +1) or a saddle (index −1) from its local Hessian. Distort the underlying height function with the Twist slider and watch singularities appear or split in +1/−1 pairs — while their indices always sum to 2, the sphere's Euler characteristic, exactly as the Poincaré–Hopf theorem guarantees.