http://stackoverflow.com/questions/7991086/iphone-core-animation-drawing-a-circle// Set up the shape of the circleint radius = 100;CAShapeLayer *circl...
分类:
移动开发 时间:
2014-07-01 22:36:06
阅读次数:
679
这一节学习让图表动起来,前面几节的图表都是静态的,不能体现D3的优势。...
分类:
Web程序 时间:
2014-06-30 18:36:03
阅读次数:
213
一、前言——
大家一定在百度音乐上在线听过歌,有没有注意到那个旋转唱片——
就上面那个,当音乐在播放的时候,那个光碟轮子在转,就想旋转木马一般。感觉好好玩啊。
碰巧想起前阵子做音乐播放器,哎,那这个也可以做在手机的音乐播放器上,这样就代替了进度条了。
一想到,就兴奋,于是,首先画圆形,然后放置背景图片,然后使用动画旋转。当音乐播放时,同时
开始播放圆形图片的动画,当音乐暂停时,暂...
分类:
移动开发 时间:
2014-06-29 22:32:09
阅读次数:
317
//利用CATransition来作模拟//模拟Push- (void)pushView:(UIView *)pushView inView:(UIView *)inView{ CATransition *animation = [CATransition animation]; ani...
分类:
其他好文 时间:
2014-06-27 14:41:15
阅读次数:
178
有两种类型的动画资源:属性动画在设定的时间内,通过修改与Animator类相关的对象的属性值来创建一个动画。视图动画有两种类型的视图动画框架补间动画(Tween animation):通过执行通过执行一系列的与Animation类相关的单一图片的转换来创建动画。帧动画(Frame animation...
分类:
移动开发 时间:
2014-06-26 19:32:41
阅读次数:
283
在 Android中,Animation动画效果的实现可以通过两种方式进行实现:一种是tweened animation渐变动画,另一种是frame by frame animation补间(画面转换)动画。tweened animation渐变动画有以下两种类型:1.alpha渐变透明度动画效果2...
分类:
移动开发 时间:
2014-06-26 19:24:48
阅读次数:
184
??一、帧动画你能够通过一系列图片文件,像例如以下这样,创建一个动画:[cpp] CCAnimation *animation = CCAnimation::create(); //从本地文件系统中载入图片文件到CCSpriteFrame中区,然后加入到CCAnimation中 for (int i...
分类:
其他好文 时间:
2014-06-25 16:53:17
阅读次数:
243
iOS Core Animation 动画 入门学习(一)基础 reference:https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Int....
分类:
移动开发 时间:
2014-06-25 12:35:48
阅读次数:
276
http://www.html5tricks.com/10-jquery-css3-animation.html...
分类:
Web程序 时间:
2014-06-24 22:27:27
阅读次数:
194
The android provide two types of animation.Tween Animation is one,such as rotation,translation,scale,gradual change(gradient).
main types:
Animation、AlphaAnimation、RotateAnimation、ScaleAnimation...
分类:
移动开发 时间:
2014-06-22 08:29:06
阅读次数:
239