[refactored] velocity operator to getVelocity$

Authored by appsforartists on Oct 7 2017, 11:25 PM.

Description

[refactored] velocity operator to getVelocity$

Summary: The existing operator presumed the incoming values were measured in px/ms. This diff makes that configurable, and separates the velocity calculation into its own function. A function feels more fitting for this functionality than an operator.

Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, Material Motion, vietanh

Reviewed By: Material Motion, vietanh

Tags: Material Motion

Differential Revision: http://codereview.cc/D3420

Details

Committed
appsforartistsOct 11 2017, 5:34 PM
Reviewer
Material Motion
Differential Revision
D3420: [refactored] velocity operator to getVelocity$
Parents
R13:a2dea49a4c4b: [refactored] threshold to use named args
Branches
Unknown
Tags
Unknown