JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 48258
  • Score
    100M100P100Q157699F
  • License MIT

Orchestration For Animated Transitions

Package Exports

  • kapellmeister

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kapellmeister) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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