Giter Site home page Giter Site logo

zhakui / popmotion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from popmotion/popmotion

0.0 1.0 0.0 5.51 MB

js动画、物理A 12kb Javascript motion engine. Use for animation, physics and input tracking.

Home Page: http://popmotion.io

License: MIT License

JavaScript 100.00%

popmotion's Introduction

Popmotion

Anything in, anywhere out

Popmotion is a 12kb JavaScript motion engine. Make it pop with animation, physics, and input tracking. In the browser, on Node, anywhere.

Download | API | Guides | Twitter

Flexible

  • Native DOM support: CSS, SVG, SVG path and DOM attribute support, out of the box.
  • Unlimited: Custom callbacks allow you output to any numerical property or API.
  • Power anything: Use with jQuery, Canvas, Three.js, WebSockets, etc.
  • Seamless interaction: Tracks velocity for hand-off between input, animation and physics.
  • Node support: Run on a server or an Arduino to fuel the IoT.
  • Open rAF loop: Run any Process on the core requestAnimationFrame loop.

Extendable

Develop your own:

  • Easing: Easing functions and bezier curves.
  • Physics: Add new physics simulators.
  • Input: Create custom Input interfaces for Oculus/Leap/anything.
  • Roles: Extend our CSS/SVG/Attr support with routes for Canvas, Three.js, Google Map Symbols or any standardised numerical property.
  • Value types: Automatically split special values in child values (ie "#000" -> { Red: 0, Green: 0, Blue: 0, Alpha: 1 } or more complex strings like path definitions.

Performant

  • Uses and exposes a single requestAnimationFrame thread that automatically winds down when not in use.
  • Never reads the DOM, leaving you in total control of performance.
  • The same size as Velocity.js, over 66% smaller than GreenSock TweenMax. Boom shak shakalaka.

Get started

Popmotion vs Velocity.js vs Greensock feature comparison

popmotion's People

Contributors

mattperry8 avatar mattgperry avatar hay avatar

Watchers

xavier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.