Skip to content

Vector fields ๐Ÿน

JavaScriptThree.js


This is a dynamic particle and vector field simulation where points interact with sources, sinks, and swirling currents. Every particle moves according to the invisible forces around it, tracing the flow of this small, colorful universe.

๐ŸŽฏ Intuitive understanding of the divergence and curl
๐Ÿง  Original idea by Letโ€™s code physics
๐Ÿ‘‰ Click on canvas to activate another vector field!
๐Ÿ A VPython demo is available as well, see div_curl_demo.py


Source

Scalar versus Vector Quantities
This visual originates from House of Physics.