πŸŒ€ Vector Field, Divergence & Curl 3D

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.

drag to orbit Β· scroll / pinch to zoom Β· double-click resets

🎯 Probe point & Gauss sphere

F at probeβ€”
Divergence βˆ‡Β·Fβ€”
Curl βˆ‡Γ—Fβ€”
Flux out of sphere ∯FΒ·dAβ€”
∭ βˆ‡Β·F dV insideβ€”
Gauss checkβ€”
How this works β€” reading divergence and curl

A vector field attaches an arrow to every point β€” wind velocity, fluid flow, an electric or gravitational field. Two derivatives summarise its local behaviour:

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Β³.