0.0.21 • Published 6 years ago

es6tween-plugin-morph v0.0.21

Weekly downloads
2
License
MIT
Repository
-
Last release
6 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

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1-beta

7 years ago

0.0.0-dev

7 years ago