scenejs-stopmotion

0.2.0 • Public • Published

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

name type description
target Scene or SceneItem The instance to apply stop-motion
options object The options to apply to stop-motion

options

  • count : Number of times to apply stop motion.

Readme

Keywords

none

Package Sidebar

Install

npm i scenejs-stopmotion

Homepage

daybrush.com

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

326 kB

Total Files

18

Last publish

Collaborators

  • younkue