https://github.com/sghall/kapellmeister
Orchestration for Animated Transitions
https://github.com/sghall/kapellmeister
animation animation-library javascript transitions
Last synced: 14 days ago
JSON representation
Orchestration for Animated Transitions
- Host: GitHub
- URL: https://github.com/sghall/kapellmeister
- Owner: sghall
- License: mit
- Created: 2019-01-18T08:39:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-13T13:55:35.000Z (about 6 years ago)
- Last Synced: 2025-04-10T22:17:39.663Z (14 days ago)
- Topics: animation, animation-library, javascript, transitions
- Language: JavaScript
- Homepage:
- Size: 1.09 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Kapellmeister
[](https://travis-ci.org/sghall/kapellmeister)
[](https://www.npmjs.com/package/kapellmeister)
[](https://www.npmjs.com/package/kapellmeister)
[](https://github.com/sghall/kapellmeister/blob/master/LICENSE)
Orchestration for animated transitions. This is the code that powers react-move.
```
npm install kapellmeister
```### Example Usage
```js
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