Type any 3D vector field F = (P, Q, R) and see it as a forest of glowing arrows with flowing particles. Calculates divergence and curl at any point, both numerically and visually, and integrates the flux through a probe sphere to demonstrate Gauss's divergence theorem.
A vector field attaches an arrow to every point β wind velocity, fluid flow, an electric or gravitational field. Two derivatives summarise its local behaviour:
βΒ·F = βP/βx + βQ/βy + βR/βz measures how much the field spreads out of a point (source, positive β shown warm) or converges into it (sink, negative β shown cool). Incompressible flow has zero divergence.βΓF = (βR/βy β βQ/βz, βP/βz β βR/βx, βQ/βx β βP/βy) is a vector along the axis a tiny paddle-wheel would spin about, with length equal to twice its angular speed. The purple arrow at the probe shows it.β― FΒ·n dA = β βΒ·F dV. The tool integrates both sides independently (a 48Γ96 surface grid versus a 24Β³ spherical volume grid) so you can watch them agree.Derivatives are central differences with h = 10β»β΄; the particles are advected with 2nd-order RungeβKutta. Worked example: F = (x, y, z) has divergence 3 everywhere, so the flux through a sphere of radius r is 3 Β· (4/3)ΟrΒ³ = 4ΟrΒ³.