import { pipe } from "fp-ts/lib/pipeable" ; import { PathData , InputParameters } from "./interfaces" ; import initState from "./initState" ; import setFrame from "./setFrame" ; import initPoints from "./initPoints" ; import transformPoints from "./transformPoints" ; import generateD from "./lib/generateD" ; export default ( parameters ) : PathData => pipe ( initState ( parameters ) , setFrame , initPoints , transformPoints , generateD ) ;