Arrows are colored by the selected quantity. Toggle below to see each partial derivative's contribution.
In 3D, sources and sinks fill volumes, not just areas. Red arrows = positive divergence (source). Blue = negative (sink). White = zero (incompressible).
The total outward flux through a closed surface equals the volume integral of divergence inside. This is the 3D generalization of the 2D divergence theorem (circle → sphere).
Drag the radius slider to verify: the flux stays constant as the sphere grows or shrinks.
Arrows show F direction & magnitude. Color = divergence (blue→red).
Rotate the scene to see sources/sinks in 3D space.