Nodes ▸ Functions ▸ Mesh Filters ▸ Vectors

Streamlines

Integrates streamlines of a vector field from launch points: by default the same deterministic lattice the Tracer uses (n points at radius r), or the points on the optional lps input, which takes a (3, N) array, a point stack, a grid, a surface or a mesh, the way the Tracer does. The output is one polyline per launch point, in launch-point order; with both directions the backward and forward halves are joined into one line.

Streamlinesx

Inputs

PortAcceptsRequiredDescription
x dataset required The mesh (or any dataset, promoted) to filter

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
lps
Launch points
primitive(array) dataset opt-in Launch points for the streamlines; replaces the n/r lattice while connected
max_steps primitive(number) opt-in
drives max_steps
Drives the Max Steps parameter while connected

Outputs

dataset(mesh)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Vectors
vectors
choice none
Launch Points (n)
n
int 100 1 to 100000
Launch Radius
r
float 1.05 1 to R_sun
Integration Direction
integration_direction
choice both forward | backward | both
Max Steps
max_steps
int 2000 1 to ⇄ port
Space
space
choice cartesian spherical | cartesian

Used by

Browse all templates using Streamlines