AnimatingRibbon.addRibbon() method

Add new ribbon the the visulaization.

Signature:

addRibbon(points: any[]): Ribbon;

Parameters

ParameterDescription
pointsThe 3d point array represents the path of the ribbon.

Returns:

Ribbon

Example

ribbon.addRibbon(
  [
    [-70.29447174072266, -148.99954223632812, 13.434694290161133],
    [-70.29447174072266, 58.99954223632812, 13.434694290161133],
    [20.29447174072266, 58.99954223632812, 13.434694290161133],
    [20.29447174072266, -148.99954223632812, 13.434694290161133]
  ]
);