{"id":13407401,"url":"https://github.com/julianshapiro/velocity","last_synced_at":"2025-05-13T18:04:48.967Z","repository":{"id":15870470,"uuid":"18611173","full_name":"julianshapiro/velocity","owner":"julianshapiro","description":"Accelerated JavaScript animation.","archived":false,"fork":false,"pushed_at":"2020-10-24T07:45:51.000Z","size":8139,"stargazers_count":17295,"open_issues_count":41,"forks_count":1553,"subscribers_count":398,"default_branch":"master","last_synced_at":"2025-05-06T17:13:37.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"VelocityJS.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julianshapiro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-09T20:02:38.000Z","updated_at":"2025-05-06T07:27:17.000Z","dependencies_parsed_at":"2022-08-02T22:00:43.778Z","dependency_job_id":null,"html_url":"https://github.com/julianshapiro/velocity","commit_stats":null,"previous_names":[],"tags_count":119,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianshapiro%2Fvelocity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianshapiro%2Fvelocity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianshapiro%2Fvelocity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianshapiro%2Fvelocity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julianshapiro","download_url":"https://codeload.github.com/julianshapiro/velocity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253833143,"owners_count":21971367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:00:39.413Z","updated_at":"2025-05-13T18:04:48.914Z","avatar_url":"https://github.com/julianshapiro.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Projects","目录","Animations","动画库","工具选择","Animations [🔝](#readme)","16. 动画(Animate) ##","Programming Languages","Repository","Computer Networking and Security","Uncategorized","动画","16. 动画(Animate)","Common","JS 动画","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["动画","Other","node 常量","Animation","13.20 视差滚动(Parallax Scrolling) ###","JavaScript","Uncategorized","其它","13.20 视差滚动(Parallax Scrolling)"],"readme":"﻿# Velocity beta\n\n[![npm](https://img.shields.io/npm/v/velocity-animate.svg)](https://www.npmjs.com/package/velocity-animate) [![npm (tag)](https://img.shields.io/npm/v/velocity-animate/beta.svg)](https://www.npmjs.com/package/velocity-animate) [![cdnjs version](https://img.shields.io/cdnjs/v/velocity.svg)](https://cdnjs.com/libraries/velocity) [![npm downloads](https://img.shields.io/npm/dm/velocity-animate.svg)](https://www.npmjs.com/package/velocity-animate) [![jsdelivr downloads](https://data.jsdelivr.com/v1/package/npm/velocity-animate/badge)](https://www.jsdelivr.com/package/npm/velocity-animate)\n\n## NPM: `npm install velocity-animate@beta`\n\n## Docs\n[https://github.com/julianshapiro/velocity/wiki](https://github.com/julianshapiro/velocity/wiki)\n\n# IMPORTANT: The velocityjs.org documentation refers to V1, not V2 beta - use the wiki for latest documentation!\n\n## News\nWhatsApp, Tumblr, Windows, Samsung, Uber, and thousands of other companies rely on Velocity. Visit [Libscore.com](http://libscore.com/#$.Velocity) to see which sites use Velocity on their homepage.\n\n## React Plugin\nAnnouncement: https://fabric.io/blog/introducing-the-velocityreact-library\u003cbr\u003e\nRepo: https://github.com/twitter-fabric/velocity-react\u003cbr\u003e\nNPM: https://www.npmjs.com/package/velocity-react\n\n## Quickstart\n### Velocity (CDN, choose one of them):\n```html\n\u003cscript src=\"//cdn.jsdelivr.net/npm/velocity-animate@2.0/velocity.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//cdnjs.cloudflare.com/ajax/libs/velocity/2.0.6/velocity.min.js\"\u003e\u003c/script\u003e\n```\n\n### Velocity UI pack (CDN, choose one of them):\n```html\n\u003cscript src=\"//cdn.jsdelivr.net/npm/velocity-animate@2.0/velocity.ui.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//cdnjs.cloudflare.com/ajax/libs/velocity/2.0.6/velocity.ui.min.js\"\u003e\u003c/script\u003e\n```\n\n\u003e Please note that JSDelivr can automatically supply the latest release, while CloudFlare needs to ask for a specific version.\n\n### Package managers:\n_npm:_ `npm install velocity-animate@beta`\n\n### Automagic chaining:\n\nIf using the `.velocity(...)` chained function in libraries such as jQuery or Zepto you need to ensure that Velocity is loaded after them. If you wish to add it to anything loaded afterwards then look at the [Velocity.patch()](https://github.com/julianshapiro/velocity/wiki/Advanced---Patch) method.\n\n## Questions or Problems?\nAsk on [StackOverflow](http://stackoverflow.com/tags/velocity.js) (make sure you add the `[velocity.js]` and the `[javascript]` or `[typescript]` tags).\n\n## Updates\n- **[2.0](https://github.com/julianshapiro/velocity/compare/1.5.0...2.0.6)**: Typescript update and complete refactoring.\n- **[1.5](https://github.com/julianshapiro/velocity/compare/1.4.0...1.5.0)**: Bugfixes, IE9 compatibility fixes.\n- **[1.4](https://github.com/julianshapiro/velocity/compare/1.3.0...1.4.0)**: Pause / Resume (per element or global).\u003cbr\u003e\nForcefed string animation (just have matching number spaces) including unit conversions and colour names (ie `background:[\"rgba(red,0.1)\", \"blue\"]`).\nHigh resolution timers (animations should be slightly smoother).\u003cbr\u003e\nVarious fixes including ticker (loading Velocity in a background window) and color handling.\n- **[1.3](https://github.com/julianshapiro/velocity/compare/1.2.0...1.3.0)**: Code cleanup - no breaking changes known.\n- **[1.2](https://github.com/julianshapiro/velocity/compare/1.1.0...1.2.0)**: [Custom tweens](http://VelocityJS.org/#progress). [Custom easings](http://VelocityJS.org/#easing). [\"Finish\" command](http://VelocityJS.org/#finish).\n- **[1.0](https://github.com/julianshapiro/velocity/compare/0.1.0...1.0.0)**: File name changed to `velocity.js`. Read [VelocityJS.org/#dependencies](http://VelocityJS.org/#dependencies).\n- **0.1**: `stop` now stops animations *immediately* (instead of only clearing the remainder of the animation queue). No other backwards-incompatible changes were made.\n\n## Learn\n- **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)\n- **Animating without jQuery**: [smashingmagazine.com/2014/09/04/animating-without-jquery](http://www.smashingmagazine.com/2014/09/04/animating-without-jquery/)\n- **Performance comparisons**: [davidwalsh.name/css-js-animation](http://davidwalsh.name/css-js-animation)\n- **Workflow**: [css-tricks.com/improving-ui-animation-workflow-velocity-js](http://css-tricks.com/improving-ui-animation-workflow-velocity-js)\n\n## Comparisons\n- **CSS transitions** are meant for simple interface flourishes.\n- **jQuery's $.animate()** is slow and poorly-equipped for motion design.\n- **Velocity** is a fast, feature-rich standalone alternative to jQuery's $.animate().\n\n## License\n[MIT License](LICENSE.md). © Julian Shapiro (http://twitter.com/julian).\n\n## Sponsors\n\n[![Kiss My Button](https://presskit.kissmybutton.gr/logos/kissmybutton-logo-small.png)](https://kissmybutton.gr)  sponsors Velocity's development.\n\n[![BrowserStack](https://raw.githubusercontent.com/julianshapiro/velocity/master/.github/browserstack-logo-182x96.png)](https://browserstack.com/)  provides browser testing services for Velocity.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianshapiro%2Fvelocity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulianshapiro%2Fvelocity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianshapiro%2Fvelocity/lists"}