1.0.0 • Published 7 years ago
whydoidoit-bounce v1.0.0
Introduction
A function to bounce between two extents over a duration.
Installation
npm install --save whydoidoit-bounce
Usage
import bounce from 'whydoidoit-bounce'
...
//Bounce position between 0 and 10 at the current "time" with a duration of 4 seconds
let currentValue = bounce(0, 10, time, 4);
Requirements
Uses ES6/Babel/PlayCanvas template.
1.0.0
7 years ago