Installation
$ npm install motion-tween-raf-engine --save
Usage
Usage is very straight forward.
; const loop = frameRate { // do something} autoStart loopstartlooplooploop
- frameRate: from 1 to 60
- callback: will receive time and delta
- autoStart: defaults to true