{"_id":"impulse","_rev":"33-cbc12392e62fb18fc3ab9c461841a386","name":"impulse","description":"[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/luster-io/impulse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"impulse","version":"0.0.1","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s impulse > dist/impulse.js","build-min":"ccjs dist/impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS > dist/impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3"},"description":"Create animations that flow naturally from the user's movements.","_id":"impulse@0.0.1","dist":{"shasum":"6085093aabefd789ea7706df9eea2aff6b8f7b05","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.0.1.tgz","integrity":"sha512-7ndJNzz7hkv990tE7jr9Mg96YNXLPpTv5yfkrHz+iXJsJR1VZBZ3fthEUhKm4MMSubYMc+aex1DZMOUXU32I7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe5R0/N4FokRAKWdhmhWdncx7a7QyDl+FaLHlNm9I0nwIhAKSKybhrYYrJYruKVveH9xsWXKImvuhpq0/uhNlFoXre"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]},"0.0.2":{"name":"impulse","version":"0.0.2","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s impulse > dist/impulse.js","build-min":"ccjs dist/impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS > dist/impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3","lodash.defaults":"~2.4.1","touch-velocity":"0.0.2"},"description":"Create animations that flow naturally from the user's movements.","_id":"impulse@0.0.2","dist":{"shasum":"34864824d23ec4a9747cc1e2b113f6910897945c","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.0.2.tgz","integrity":"sha512-sGBPoIfKzd8cd7WTfdhu/i6/xJN6vh8rscOndgNfPnfFctHLfcyYkNgjleEIrFsXqnwBPGtoVyrN8KETMHHFuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkK2Zkp5Ou4BZQ2rvz9/vpEZD4p5eykNMMutMMpdv0qAiA9rogwPKBhmyr2yC7HKiywwPy8KaeyAck0Mlkmt36SMg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]},"0.0.3":{"name":"impulse","version":"0.0.3","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s impulse > dist/impulse.js","build-min":"ccjs dist/impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS > dist/impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3","lodash.defaults":"~2.4.1","touch-velocity":"0.0.2"},"description":"Create animations that flow naturally from the user's movements.","_id":"impulse@0.0.3","dist":{"shasum":"7c95cfb2aaa955587bdf7483ffb8880e80deb0f6","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.0.3.tgz","integrity":"sha512-EjFt5geg+8e1TsoGFXPqPpxX5i+YuQb41U82/rt+E/uXRaWrLK3L0IZ6LHtdUbVvV5XJiqElZvM6/fKHTvvIwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1dMRU8aoe1lQL3IjafEputp3Es1h/KoeNifvxpKATNgIgSKJDEuGzBkLMybIvYv94DApg78R5Cz9MFm0tMaFdCoE="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]},"0.0.4":{"name":"impulse","version":"0.0.4","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s Impulse > impulse.js","build-min":"ccjs impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS > impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3","lodash.defaults":"~2.4.1","touch-velocity":"0.0.3"},"description":"Create animations that flow naturally from the user's movements.","_id":"impulse@0.0.4","dist":{"shasum":"e41d9dcac5bb4362bc8ddcc3566a27d60e494804","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.0.4.tgz","integrity":"sha512-w6H3LYtQgQEax9wX+fF4h7Xa896zc2J7I+L921M7PQuYaFjyqU67YInCfCevTux7qPSBeRonbfuaFv4WMVh36A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVcJnwE4VG9eoGSeAMs/jnncN83yvZO9PeRNIdDPDVKAIhAJWxv/US8WFbDQvIF7ALl3ELz7xF/L8075ZGFnVGa90o"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]},"0.0.5":{"name":"impulse","version":"0.0.5","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s Impulse > impulse.js","build-min":"ccjs impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS > impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3","lodash.defaults":"~2.4.1","touch-velocity":"0.0.3"},"description":"Create animations that flow naturally from the user's movements.","_id":"impulse@0.0.5","dist":{"shasum":"cb239506ef4d4f86764497e7bfd8a20bae2036a6","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.0.5.tgz","integrity":"sha512-wlEhwOocLmPZd+CEmu+ms0KXEHSZmicmQjFrJNOntPuNGzBNCF/77PTmI/hjEFOokLtgEWcA0WWLgIiY/z7/eA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeTZ7bFZTHOJ+bMsQFE5N7khorc2uoOXkPJ6P7/TSW6AIhAIUOu8WeuX93U7rml5gMvcaw5Bpj6wuPaerWhH1kZ+35"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]},"0.0.6":{"name":"impulse","version":"0.0.6","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s Impulse > impulse.js","build-min":"ccjs impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS --language_in=ECMASCRIPT5 > impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3","lodash.defaults":"~2.4.1","touch-velocity":"0.0.3"},"description":"Create animations that flow naturally from the user's movements.","_id":"impulse@0.0.6","dist":{"shasum":"dfd6dedccee44f55ef42d7400a93c688a1f80649","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.0.6.tgz","integrity":"sha512-NVkGvZw5O6Mxam2Er9K+4j2Jwh0hQYDpzilOxfPnXbBx0K4LEodqOpEtVbiKDn+2N3sHFUXUpyX6nmwegUy0HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJEFzzv8PeqamFfx1kZEt4823N3dzx98wqegWnz5XFWAiEApNp6PrNkvtliBWhuaKIg8iam0zKdKZWnsNVZqXepnl0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]},"0.1.0":{"name":"impulse","version":"0.1.0","main":"lib/index.js","scripts":{"build":"browserify lib/index.js -s Impulse > impulse.js","build-min":"ccjs impulse.js --compilation_level=SIMPLE_OPTIMIZATIONS --language_in=ECMASCRIPT5 > impulse.min.js"},"engines":{"node":">=0.10.0"},"dependencies":{"inherits":"~2.0.1","raf":"~2.0.1","promise":"~5.0.0","component-emitter":"~1.1.3","lodash.defaults":"~2.4.1","touch-velocity":"0.0.3"},"description":"[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/luster-io/impulse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)","_id":"impulse@0.1.0","dist":{"shasum":"095abcea131bb36ee3504dfc8fa18b7ff301ffe5","tarball":"https://registry.npmjs.org/impulse/-/impulse-0.1.0.tgz","integrity":"sha512-5InmlXmztqCAesZyrLyRARX6tT/SlMwvfWOlMghEgPGShBZmAUnT1NGVVIbG7kK8MC78aco8RcjqDdwPpGsdcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTPU1ylCuvdnITF8rfipvvesmBC4e5Nzb1vEUb1oS9NAiAVm4Idfaiqz6a5Jx1FMPz6jIEKMl1AiDtd0cRnJ0/ABA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"coderzach","email":"x.coder.zach@gmail.com"},"maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}]}},"readme":"#Impulse\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/luster-io/impulse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n  Create animations that flow naturally from the user's movements.\n\n  Rather than animating properties for a set amount of time,\nimpulse takes a start position, end position, and velocity.\n\n##example\n\n```\nvar ball = Impulse(document.querySelector('.ball'))\n  .style({\n    translate: function(x, y) { return x + 'px, ' + y + 'px' },\n  })\n//set a starting position\nball.position(50, 50)\n\nball.spring({ tension: 100, damping: 10 })\n  .to(100, 100).start()\n```\n\n\nMore examples can be found [here](http://impulse.luster.io/examples.html)\n\n##Installation\n\n####Browserify\n```\nnpm install impulse\n```\n\n####Bower\n\n```\nbower install impulse\n```\nExposes a global called Physics\n\n####Component\n\n```\ncomponent install luster-io/impulse\n```\n\n####Manually\n\nGet `build/impulse.js` or `build/impulse.min.js` from github.\n\n```html\n  <script src=\"/scripts/impulse.js\"></script>\n```\n\nExposes a global called impulse\n\n##High Level Explanation\n\n  Calling `Impulse` on an element or set of elements returns an Impulse object.\nA physics object maintains it's own position and velocity.  You can interact\nwith a Impulse object (drag, pan, etc), and animate it.  Animations take\nthe current position and velocity of the PhysicsObject as a starting point, and\nanimate to a user defined position.\n\n  This makes the animations flow naturally from the user's actions.  For example a user can drag an element around.  Once they're done dragging,\nthe next animation will start from the position and velocity that they left off.\n\nDocumentation can be found [here](http://impulse.luster.io/guides.html)\n\n#Contributing\n\n  Bug reports are extremely useful, if you think something's wrong, create an\nissue.\n\n  If there's an interaction you'd like to see, but you don't know if it's\npossible, please create an issue.  Maybe we can find a way to build it!\n\n#Discussion\n\nThere's also a place to ask questions, or get help here:\n\n[https://gitter.im/luster-io/impulse](https://gitter.im/luster-io/impulse)\n\n##LICENSE\n MIT -- Read LICENSE\n","maintainers":[{"name":"coderzach","email":"x.coder.zach@gmail.com"}],"time":{"modified":"2022-06-19T00:56:19.394Z","created":"2014-08-14T18:20:21.129Z","0.0.1":"2014-08-14T18:20:22.374Z","0.0.2":"2014-08-15T00:52:40.935Z","0.0.3":"2014-08-20T03:37:27.865Z","0.0.4":"2014-08-28T02:26:59.864Z","0.0.5":"2014-09-09T21:35:23.195Z","0.0.6":"2014-09-19T19:24:10.129Z","0.1.0":"2014-12-28T18:31:22.197Z"},"readmeFilename":"README.md","users":{"gdibble":true}}