Reference

Table of Contents  ▸  List of Commands  ▸  3D Meshes  ▸  streamline3d◀  star3d    |    sub3d  ▶

streamline3d

Built-in command

Arguments:

Description:

Extract 3D streamlines from selected vector fields or from specified formula.

interpolation can be { 0=nearest integer | 1=1st-order | 2=2nd-order | 3=4th-order }.

Default values:

dl=0.1, interpolation=2, is_backward=0 and is_oriented=0.

Example of use:

$ gmic 100,100,100,3 rand -10,10 blur 3 repeat 300 +streamline3d[0] {u(100)},{u(100)},{u(100)},1000,1,1 color3d[-1] ${-rgb} done remove[0] box3d 100 primitives3d[-1] 1 add3d

Command: 100,100,100,3 rand -10,10 blur 3 repeat 300 +streamline3d[0] {u(100)},{u(100)},{u(100)},1000,1,1 color3d[-1] ${-rgb} done remove[0] box3d 100 primitives3d[-1] 1 add3d