ixfx
    Preparing search index...
    • Returns a pipeline function that takes a point to be transformed through a series of functions

      // Create pipeline
      const p = Points.pipeline(Points.normalise, Points.invert);

      // Now run it on `somePoint`.
      // First we normalised, and then invert
      const changedPoint = p(somePoint);

      If you don't want to create a pipeline, use pipelineApply.

      Parameters

      • ...pipeline: readonly ((pt: Point) => Point)[]

        Pipeline of functions

      Returns (pt: Point) => Point