kapellmeister

3.0.1 • Public • Published
Kapellmeister

Kapellmeister

Build Status npm version npm downloads license gzip size

Orchestration for animated transitions. This is the code that powers react-move.

npm install kapellmeister

Example Usage

import { interpolateNumber } from 'd3-interpolate'
import { BaseNode } from 'kapellmeister'
 
class Node extends BaseNode {
  getInterpolator(attr, a, b) {
    return interpolateNumber(a, b)
  }
}
 
const data = {
  x: 0,
  y: 0
 }
 
const node = new Node(data)
 
node.transition({
  x: [1],
  y: [1]
})

Conductor Art by Arthur Shlain from the Noun Project

/kapellmeister/

    Package Sidebar

    Install

    npm i kapellmeister

    Weekly Downloads

    79,939

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    47.1 kB

    Total Files

    13

    Last publish

    Collaborators

    • sghall