0.2.0 • Published 6 years ago

scenejs-stopmotion v0.2.0

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

scenejs-stopmotion

Usage

    StopMotion({
        0: {"background":"rgb(100, 100, 100)", left: "0px"},
        5: {"background":"rgb(255, 100, 100)", left: "300px"}
    }, {
        selector: ".circle",
        count: 5,
    }).play();

Example

How To Use

Installation with npm

$ npm install scenejs-stopmotion

Import Library

ES5

<script src="//daybrush.github.io/scenejs-stopmotion/release/latest/stopmotion.min.js">

ES6

import StopMotion from "scenejs-stopmotion";

Go

scene.setStopMotion({count: 5});

scene.play();

API

nametypedescription
targetScene or SceneItemThe instance to apply stop-motion
optionsobjectThe options to apply to stop-motion

options

  • count : Number of times to apply stop motion.
0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago