ReboundAndroid的物理和动画库
Rebound 是一个来自 Facebook 公司的 Android 的物理和动画库,我们相信对真实世界的物理建模是一个有力的方式,方便在应用中创建自然、可触的动画和交互效果。
示例代码:
// Create a system to run the physics loop for a set of springs. SpringSystem springSystem = SpringSystem.create(); // Add a spring to the system. Spring spring = springSystem.createSpring(); // Add a listener to observe the motion of the spring. spring.addListener(new SimpleSpringListener() { @Override public void onSpringUpdate(Spring spring) { // You can observe the updates in the spring // state by asking its current value in onSpringUpdate. float value = (float) spring.getCurrentValue(); float scale = 1f - (value * 0.5f); myView.setScaleX(scale); myView.setScaleY(scale); } }); // Set the spring in motion; moving from 0 to 1 spring.setEndValue(1);
评论
JavaScript CollieJavaScript 动画和游戏库
Collie是一个JavaScript库可以帮你使用HTML5创建高度优化的动画和游戏,Collie支持PC和移动设备,使用HTML5Canvas和DOM。
JavaScript CollieJavaScript 动画和游戏库
0
Velocity.js 动画效果库JavaScript动画库
Velocity.js可用于加速JavaScript的动画效果。类似jQuery的$.animate()方法,但无需依赖jQuery。速度非常快,而且提供一些很酷的动画效果,支持SVG和滚动。示例代码
Velocity.js 动画效果库JavaScript动画库
0
JavaScript CollieJavaScript 动画和游戏库
Collie 是一个 JavaScript 库可以帮你使用 HTML5 创建高度优化的动画和游戏,C
JavaScript CollieJavaScript 动画和游戏库
0
Velocity.js 动画效果库JavaScript动画库
Velocity.js 可用于加速 JavaScript 的动画效果。类似 jQuery 的 $.a
Velocity.js 动画效果库JavaScript动画库
0
Cquence.jsJavaScript 动画库
Cquence是一个非常小的JavaScript动画库,用于banner和广告的展示。最基本的使用方法:var render = null; // Define the render object s
Cquence.jsJavaScript 动画库
0
AsciiMorphascii 动画库
AsciiMorph是一个可在两个ascii图像之间动画过渡的库。演示使用用dom元素渲染ascii<!-- Pre elements are perfect for this. -->&
AsciiMorphascii 动画库
0
NineOldAndroidsAndroid 动画库
NineOldAndroids是一个可以让你在Android1.0以上版本使用Honeycomb动画API的Android库。
NineOldAndroidsAndroid 动画库
0