Vector Field Graph

https://github.com/nortikin/sverchok/assets/14288520/25cf4c3e-1bd0-4d81-94f4-ede174133db5

Functionality

This node visualizes a Vector Field object by generating arrows (which represent vectors) from points of original space to the results of vector field application to those original points.

The original points are generated as cartesian grid in 3D space.

This node is mainly intended for visualization.

https://github.com/nortikin/sverchok/assets/14288520/9a50d9d4-b02e-4b28-9412-c32c4a0c9325

Inputs

This node has the following inputs:

  • Field. The vector field to be visualized. This input is mandatory.

  • Bounds. The list of points which define the area of space, in which the field is to be visualized. Only the bounding box of these points is used.

  • Scale. The scale of arrows to be generated. The default value is 1.0.

  • SamplesX, SamplesY, SamplesZ. The number of samples of cartesian grid, from which the arrows are to be generated. The default value is 10.

Parameters

This node has the following parameters:

  • Auto scale. Select the scale of arrows automatically, so that the largest arrows are not bigger than the distance between cartesian grid points. Checked by default.

  • Join. If checked, then all arrows will be merged into one mesh object. Otherwise, separate object will be generated for each arrow. Checked by default.

Outputs

Example of description:

https://github.com/nortikin/sverchok/assets/14288520/18376fca-ba21-4d46-8c44-f7f019da86a7

This node has the following outputs:

  • Vertices. The vertices of the arrows.

  • Edges. The edges of the arrows.

Example of usage

Visualize some vector field:

https://user-images.githubusercontent.com/284644/79471192-b8bba900-801b-11ea-829e-2b003d9000da.png