{"_id":"tween-functions","_rev":"12-a2722420c593a1fe423362ab3e78feaa","name":"tween-functions","description":"Robert Penner's easing functions, slightly modified","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"tween-functions","version":"1.0.0","description":"Robert Penner's easing functions, slightly modified","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"github.com/chenglou/tween-functions"},"keywords":["tween","ease","react","animation","easing","penner","bezier","interpolation"],"author":{"name":"chenglou"},"license":"BSD","bugs":{"url":"https://github.com/chenglou/tween-functions/issues"},"homepage":"https://github.com/chenglou/tween-functions","gitHead":"42f51f5f2b1ffaa43301d1980f46d2ec6174cc0c","_id":"tween-functions@1.0.0","_shasum":"3d79f8923786161798c26c226781757a52403fb5","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"chenglou","email":"chenglou92@gmail.com"},"maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"dist":{"shasum":"3d79f8923786161798c26c226781757a52403fb5","tarball":"https://registry.npmjs.org/tween-functions/-/tween-functions-1.0.0.tgz","integrity":"sha512-OhsPGCc82EtAZE1agLb9JdWzMb2u8QC2VAT/5jX9x0BjJ1Ol8PS9VXc9O3eVwbs2k77hps4uXUgT8VDwxoHrDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHC6xXxh2svzh/Ywt0Ribl8t4hi+P3CifbWEZOspwYhAiEApXe9uPjZpvTNauoO/53BmYFPLys1oVKn15LHtOnDq5U="}]}},"1.0.1":{"name":"tween-functions","version":"1.0.1","description":"Robert Penner's easing functions, slightly modified","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"github.com/chenglou/tween-functions"},"keywords":["tween","ease","react","animation","easing","penner","bezier","interpolation"],"author":{"name":"chenglou"},"license":"BSD","bugs":{"url":"https://github.com/chenglou/tween-functions/issues"},"homepage":"https://github.com/chenglou/tween-functions","gitHead":"37225d24072b4f2ba854d5e00db183707ba68ce4","_id":"tween-functions@1.0.1","_shasum":"8d4febbd986a8dbaaef8bf005600800d05d58981","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"chenglou","email":"chenglou92@gmail.com"},"maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"dist":{"shasum":"8d4febbd986a8dbaaef8bf005600800d05d58981","tarball":"https://registry.npmjs.org/tween-functions/-/tween-functions-1.0.1.tgz","integrity":"sha512-dcvL7YdZnBXiX1LZOWy4KxSnhvMUhooKLvTO/4QNStUPFpxCMcH57WBTSzmmaEd8N5yBa41HMjD9CyigN3UE2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxbcMOsSIADRQJ8mjAuXqs+8mX655XXG2bNHzTpXqGQAiEA5ySu0xox2dFFW1CEC2QinVrazGTjufq3IoAJm+HW71k="}]}},"1.0.2":{"name":"tween-functions","version":"1.0.2","description":"Robert Penner's easing functions, slightly modified","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/chenglou/tween-functions"},"keywords":["tween","ease","react","animation","easing","penner","bezier","interpolation"],"author":{"name":"chenglou"},"license":"BSD","bugs":{"url":"https://github.com/chenglou/tween-functions/issues"},"homepage":"https://github.com/chenglou/tween-functions","gitHead":"10f6bf89298155454bb4c120bbafe954aaba55d7","_id":"tween-functions@1.0.2","_shasum":"1deba7f000413f46c843092f66afd482d4a35b22","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"chenglou","email":"chenglou92@gmail.com"},"maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"dist":{"shasum":"1deba7f000413f46c843092f66afd482d4a35b22","tarball":"https://registry.npmjs.org/tween-functions/-/tween-functions-1.0.2.tgz","integrity":"sha512-ka0IhPuOwIa/JtaxKe+jTt076H+XnOVbdKLsk3KTKSEiVL29xHl4+H33OhJpiWLfcJ9gomt1tIApKHpp+53CJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmlK+UNdaRkv/uWP9RWbF5wpsz1WWazpcA65a1kcFwWwIhANjDrC5Xcr8Uv402hhbxwQPWiBxn0bvVBL2gKa/2zMhM"}]}},"1.1.0":{"name":"tween-functions","version":"1.1.0","description":"Robert Penner's easing functions, slightly modified","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chenglou/tween-functions.git"},"keywords":["tween","ease","react","animation","easing","penner","bezier","interpolation"],"author":{"name":"chenglou"},"license":"BSD","bugs":{"url":"https://github.com/chenglou/tween-functions/issues"},"homepage":"https://github.com/chenglou/tween-functions","gitHead":"2726aefc2c8cc797732410207d5d3824b0706cbb","_id":"tween-functions@1.1.0","_shasum":"81fd31f8e2ac05f77bf430f678a6dc14eac340d6","_from":".","_npmVersion":"2.14.6","_nodeVersion":"4.1.2","_npmUser":{"name":"chenglou","email":"chenglou92@gmail.com"},"maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"dist":{"shasum":"81fd31f8e2ac05f77bf430f678a6dc14eac340d6","tarball":"https://registry.npmjs.org/tween-functions/-/tween-functions-1.1.0.tgz","integrity":"sha512-w2QWxc1FOYURW+GL3jWsB2HlXMs61IwnbQlAEOVkD/SV4T0htZajN8QQiGYA3cReXH2bgF5sGEWwIlth6q3guw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnd4gdJhX9WXqz/z3ksx0xULWM6H/2/yZnuDQ7/SJPKAiEAz8gNfZ2Qe/CZkXtEouy/gxfC5MUVl9NIzEMfZhh9slg="}]}},"1.2.0":{"name":"tween-functions","version":"1.2.0","description":"Robert Penner's easing functions, slightly modified","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chenglou/tween-functions.git"},"keywords":["tween","ease","react","animation","easing","penner","bezier","interpolation"],"author":{"name":"chenglou"},"license":"BSD","bugs":{"url":"https://github.com/chenglou/tween-functions/issues"},"homepage":"https://github.com/chenglou/tween-functions","gitHead":"e3d5f1edf2cdb9b7b623be4d1064f886136a70b3","_id":"tween-functions@1.2.0","_shasum":"1ae3a50e7c60bb3def774eac707acbca73bbc3ff","_from":".","_npmVersion":"2.14.6","_nodeVersion":"4.1.2","_npmUser":{"name":"chenglou","email":"chenglou92@gmail.com"},"maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"dist":{"shasum":"1ae3a50e7c60bb3def774eac707acbca73bbc3ff","tarball":"https://registry.npmjs.org/tween-functions/-/tween-functions-1.2.0.tgz","integrity":"sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiRLBtdTed9/g/JpwfY3aLwK6vG8bCcEvQwuczdSriMAIgDf8L79/aELs2GnHTrKKKZy2sC1LvfgziG1UE5r6WkAk="}]}}},"readme":"# Tween-functions\n\nRobert Penner's tweening functions as used in [React-tween-state](https://github.com/chenglou/react-tween-state) and [React-state-stream](https://github.com/chenglou/react-state-stream).\n\nPenner's original functions uses the change in value rather than final value as parameter. I much prefer the latter, so this is what this library will use.\n\n## API\n\n`tweenFunction.tweenName(currentTime, beginValue, endValue, totalDuration)`\n\n## Example\n\n```js\nvar tweenFunctions = require('tween-functions');\ntweenFunctions.easeInQuad(1, 0, 50, 5); // => 4\n```\n\nList of available functions:\n\n- linear\n- easeInQuad\n- easeOutQuad\n- easeInOutQuad\n- easeInCubic\n- easeOutCubic\n- easeInOutCubic\n- easeInQuart\n- easeOutQuart\n- easeInOutQuart\n- easeInQuint\n- easeOutQuint\n- easeInOutQuint\n- easeInSine\n- easeOutSine\n- easeInOutSine\n- easeInExpo\n- easeOutExpo\n- easeInOutExpo\n- easeInCirc\n- easeOutCirc\n- easeInOutCirc\n- easeInElastic\n- easeOutElastic\n- easeInOutElastic\n- easeInBack\n- easeOutBack\n- easeInOutBack\n- easeInBounce\n- easeOutBounce\n- easeInOutBounce\n","maintainers":[{"name":"chenglou","email":"chenglou92@gmail.com"}],"time":{"modified":"2022-06-27T23:55:29.016Z","created":"2015-03-17T01:02:09.520Z","1.0.0":"2015-03-17T01:02:09.520Z","1.0.1":"2015-03-17T01:17:30.035Z","1.0.2":"2015-05-26T00:40:11.357Z","1.1.0":"2015-10-16T14:05:09.178Z","1.2.0":"2015-11-21T03:54:59.331Z"},"homepage":"https://github.com/chenglou/tween-functions","keywords":["tween","ease","react","animation","easing","penner","bezier","interpolation"],"repository":{"type":"git","url":"git+https://github.com/chenglou/tween-functions.git"},"author":{"name":"chenglou"},"bugs":{"url":"https://github.com/chenglou/tween-functions/issues"},"license":"BSD","readmeFilename":"README.md","users":{"qddegtya":true,"actionwolf":true,"wgao19":true}}