0.0.21 • Published 7 years ago

es6tween-plugin-morph v0.0.21

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

es6-tween-plugin-morph

size gzipsize

Morph plug-in for ES6 tween

Usage

import { Tween } from 'es6-tween';
import 'es6-tween-plugin-morph';

let tween = new Tween(document.querySelector('#myPath'), {morph:{shape:'#circleSVGShape'}).to({morph:{shape:'#rectSVGShape'}}, 2000).start();

Config

  • shape: Any - If want to use reverse/moveIndex, you should shape
  • reverse: Boolean - Reverses the path if your want change naturality
  • moveIndex: Number - Changes the index of points to make better/worse naturality
  • approximate: Boolean - Requires flubber library and makes animation a lot better
0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1-beta

8 years ago

0.0.0-dev

8 years ago