@texmorph/core
v0.1.0
Published
Pure TypeScript formula-morph planning: tokens, matching, plans and seekable sampling.
Downloads
181
Maintainers
Readme
@texmorph/core
Pure planning and sampling for texmorph. No DOM, no clock: runs in browsers, workers and Node.
Install
npm install @texmorph/coreUsage
import { createMorphPlan, sampleMorph } from '@texmorph/core';
const plan = createMorphPlan(fromSnapshot, toSnapshot, { easing: 'easeOutCubic' });
const frame = sampleMorph(plan, 0.42);Documentation
License
MIT
