Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 882 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 882 Bytes

3DVectorFields

↗️ Vector fields in 3D, with field-based geometry transformation!

Live here! You can check out the 2D version here!

Set equations for the x, y, and z components of the vector field using variables x, y, z, representing the location of the point in the coordinate system, along with t representing elapsed time. You can also use any JavaScript math function, such as Math.sin.

There's also an option to plot a shape as it deforms in the vector field over time. x/y/z length control the length of that shape. You can set the amount of cross-sections to deform (more cross sections = more CPU intensive). The rest of the settings are self explanatory.

I don't visualize the magnitudes of the vectors because it would get real ugly real quick.