javascript - Increase frame rate of CreateJS's TweenJS for use w/ three.js -
i'm using createjs's tweenjs in 60fps three.js project. i'm noticing animation feels jerky when use tweenjs move objects, if objects being updated @ lower frame rate.
here example: https://jsfiddle.net/sccottt/sbm9s6k5/1/
in example, box (animated w/ tweenjs) seems move less smoothly lines in background (rotating per requestanimationframe()).
is there way change frame rate of tweenjs, or have idea on how make perform more smoothly?
the latest version of createjs jsfiddle host old (end of 2013). since then, there requestanimationframe support (now used default timing mode).
i updated fiddle, use latest (0.6.1, tagged on may 21) raf, , seems smoother. https://jsfiddle.net/sbm9s6k5/4/
createjs.ticker.timingmode = createjs.ticker.raf;
Comments
Post a Comment