warp-grid
Version:
Create a complex grid, warped in 2D space and access data about its lines and cells
43 lines (37 loc) • 1.4 kB
text/typescript
// -----------------------------------------------------------------------------
// Re-export Types
// -----------------------------------------------------------------------------
export { CellBoundsOrder, InterpolationStrategy, LineStrategy } from './enums'
export type {
BezierEasing,
BezierEasingParams,
BoundingCurves,
Curve,
GetAllCellBoundsProps,
GridApi,
GetCellBoundsConfig,
GetPointProps,
GridDefinition,
GridModel,
InterpolateLineU,
InterpolateLineV,
InterpolatePointOnCurve,
InterpolatePointOnCurveFactory,
LinesByAxis,
Point,
Step,
StepDefinition,
UnprocessedStep,
InterpolationParamsU,
InterpolationParamsV,
WarpGrid,
} from './types'
// -----------------------------------------------------------------------------
// Re-export Interpolation functions
// -----------------------------------------------------------------------------
export { default as interpolatePointOnCurveEvenlySpacedFactory } from './interpolate/pointOnCurve/interpolatePointOnCurveEvenlySpacedEasedFactory'
export { default as interpolatePointOnCurveLinearFactory } from './interpolate/pointOnCurve/interpolatePointOnCurveLinearEasedFactory'
// -----------------------------------------------------------------------------
// Re-export API
// -----------------------------------------------------------------------------
export { default as warpGrid } from './api'