@wikipedia


Given velocity vector  the streamlines is a bunch of curves , parametrized by real number , and solving the following equation:

\frac{ d {\vec r}_s}{dt} \times {\vec r}_s(t) = 0 

or equivalently

{dx_s \over u_x} ={dy_s \over u_y}={dz_s \over u_z}