UNPKG

2.02 kBMarkdownView Raw
1##Velocity (1.0.0)
2
3**Docs**
4[VelocityJS.org](http://VelocityJS.org)
5
6**Want to see something amazing?**
7Announcing [Velocity Motion Designer](https://twitter.com/Shapiro/status/508392482967928833)!
8
9**Quickstart**
10
11Velocity:
12`<script src="//cdn.jsdelivr.net/velocity/1.0.0/velocity.min.js"></script>`
13
14Velocity UI pack:
15`<script src="//cdn.jsdelivr.net/velocity/1.0.0/velocity.ui.min.js"></script>`
16
17Package managers:
18`bower install velocity`
19`npm install velocity-animate`
20
21###**Updates**
22
23- **1.0.0**: File name changed to `velocity.js`. Read [VelocityJS.org/#dependencies](http://VelocityJS.org/#dependencies).
24- **0.1.0**: `stop` now stops animations *immediately* (instead of only clearing the remainder of the animation queue). No other backwards-incompatible changes were made.
25
26###**Learn**
27
28- **Motion design**: [smashingmagazine.com/2014/06/18/faster-ui-animations-with-velocity-js](http://smashingmagazine.com/2014/06/18/faster-ui-animations-with-velocity-js)
29- **Animating without jQuery**: [smashingmagazine.com/2014/09/04/animating-without-jquery](http://www.smashingmagazine.com/2014/09/04/animating-without-jquery/)
30- **Performance comparisons**: [davidwalsh.name/css-js-animation](http://davidwalsh.name/css-js-animation)
31- **Workflow**: [css-tricks.com/improving-ui-animation-workflow-velocity-js](http://css-tricks.com/improving-ui-animation-workflow-velocity-js)
32
33###**Comparisons**
34
35- **Famo.us** is a full-fledged app framework built around a physics engine.
36- **CSS transitions** are meant for simple interface flourishes.
37- **jQuery's $.animate()** is slow and poorly-equipped for motion design.
38- **Velocity** is a fast, feature-rich standalone alternative to jQuery's $.animate().
39
40###**Credits**
41
42- <a href="https://stripe.com/blog/stripe-open-source-retreat">Stripe</a> sponsors Velocity's development.
43- <a href="http://browserstack.com">BrowserStack</a> provides Velocity's testing services.
44
45====
46
47[MIT License](LICENSE.md). © Julian Shapiro (http://twitter.com/shapiro).