Rebound库使用分享

来源:互联网 发布:男士秋裤品牌 知乎 编辑:程序博客网 时间:2024/06/05 06:15

http://facebook.github.io/rebound/
今天与大家分享一个新东西,来自facebook的弹簧效果
首先引用官方的一段话做一下解释:
About
Rebound is a java library that models spring dynamics. Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application.
Rebound 是一个弹性动态的模型java库,它被用来创建一个符合真实世界物理现象的动画附着在你的应用上

Rebound is not a general purpose physics library; however, spring dynamics can be used to drive a wide variety of animations. The simplicity of Rebound makes it easy to integrate and use as a building block for creating more complex components like pagers, toggles, and scrollers.
它不是一个普通意义上的物理库,而是可以被用来产生各种动画效果。这意味着它可以很容易的集成和使用作为构建块状动画效果,甚至更复杂的效果,例如pagers,toggles和scrollers
Rebound uses the same spring constants as Origami making it easy to convert Origami interaction mockups directly into your Android application.
反弹使用相同的弹簧常数,折纸很容易将折纸互动模型直接进入你的Android应用程序。

0 0
原创粉丝点击