animation

face distortion

i want to do aface distortion effect to an existing human photo picture in objc any example or tutorial anybody can point to ? ...

Core Animation Image sequence

How would i go about creating an image sequence with core animation. I would like to: add image1 for 1 second then remove image add image2 for 2 seconds then remove image add image1 for 3 seconds then remove CGImageRef image1 = [self getImage1]; CALayer *image1Layer = [CALayer layer]; image1Layer.bounds = CGRectMake(0, 0,...

iPhone "multistep" animations?

tl;dr: How do I combine multiple UIView block-based animations into a single conceptual unit such that UIViewAnimationOptionBeginFromCurrentState works as expected? I'm attempting to implement multi-step animations for re-orienting the screen on an iPhone. I've enabled orientation notifications and am using animatewithDuration: to exe...

How to flip view controllers like flipping photos in the photo library

I'm new in iOS developing. Will someone help me? ...

Does anyone have a working example of fluid-animation code for the iPhone?

I'm looking for a sample iPhone app that includes animated fluids - for example, a fish tank, or glass of water. Is there one available somewhere? ...

Mouseover/mouseenter not fired by browser on animated/moving element

If you have an element that has an animation to move it around, the mouseover and mouseenter events aren't fired unless the mouse is moved by the user. To demonstrate try the block of code below with jQuery. If you put your mouse in front of the moving div so you're not moving the mouse when the div passes by then the mouseover isn't f...

Has anyone got a basic example of HTML5 <canvas> animation?

I am looking for a basic example of HTML5 <canvas> animation. For example, making a ball bounce, etc. If someone has one I would be very grateful. ...

Silverlight fluid move behaviour and a wrap panel

Hi All, I want to create a really slick wrap panel layout in my SL4 application, I have been doing a fair bit of research into the fluid move behaviors, and I think its where I want to go but I cannot get it right. I want a list of controls in a 2(row) X 2(col) Grid starting with just a singular control, then once I add controls to the...

Adding Animation into a page on ScrollView

Hi, I have an animation (currently 30 different images repeating) and I wish to add it into a single page in a ScrollView (currently holding 7 pages). Can this be done? I've added my code below, the behaviour I'm getting is that on my selected page nothing appears, on all the other pages I get the images as normal, but there must be som...

CGAffineTransformMakeRotation before a CABasicAnimation

I'm performing a rotation of an UIImageView in place first before performing a rotation animation: // rotate to the left by 90 degrees someView.transform = CGAffineTransformMakeRotation((-0.5)*M_PI); Then calling a rotation on the view by 180 degrees... but it seems like it is rotating the image starting from the original posi...

Looking for an Android 3d engine that able to simulate coin flipping ?

Hi , I am planning an app with a "coin flipping simulation" function(Activity) in an Android phone. I am new to 3D (OpenGL) here , and I know there will be a lot of efforts to build from scratch. So , I am looking for an existing 3D engine , which is able to simulate : Coin flip and drop , with G-Sensor , so that users can shake/wave h...

OpenGL - animation stuttering when in full screen

I'm currently running into a problem regarding animation in OpenGL. I have between 200 and 10000 gears on the screen at a time all rotating. When the window is not in maximized view, my CPU runs at about 10-20 % consistently. No spikes, no stuttering in the animation, it runs perfectly smooth regardless of the number of gears on screen. ...

iPhone fullscreen frame animation with easing

I need to show a (near fullscreen) object in 360 degree rotation within my iPhone app. The rotation animation has already been rendered and contains 180 frames at 960x640 (Retina display). Interaction required will include... - swipe left/right to rotate (animate) - clickable areas on each image. Can anyone suggest the best way to an...

Animation in android widget..

Hi,.. Can we set animation in android widget? For example, i have several buttons if i press button1 they will play animation1, press button2 play animation2 and so on.. Any idea how to do this? Thanks a lot.. ...

iPad: Image Animation , Image Flickering problem

hi all, I am making an iPad application. In that for moving image from left to right and vice-a-versa. I am using following code for making the animation animation = [CATransition animation]; [animation setDelegate:self]; [animation setDuration:AnimationDuration]; [animation setType:kCATransitionPush]; [animation setSubtype:kCATrans...

CCSprite Aniamtion problem: Loop movement- [enter from left exit through right] do this actions forever

Here is my code, i have been trying- -(void) animatedMove:(CCSprite *)character { ccTime actualDuration = 10; id actionMove = [CCMoveBy actionWithDuration:actualDuration position:ccp(screen_width+50, character.position.y)]; id actionBack = [CCMoveBy actionWithDuration:1 ...

How to stop slideDown() and slideUp() if user hovers out?

Please, I'm having this code: $('#menu ul > li:not(#menu ul.first li, #menu ul.second li)').mouseenter(function() { $(this).find('a').addClass('active'); $(this).stop(true).find('div.sub').slideDown(500); }).mouseleave(function() { $(this).find('a.active').removeClass('active'); $(this).stop(true).find('div.sub:visible').slideU...

Zooming on an Animation using UIScrollView

Hi Guys, I've got a UIScrollView filled with images, one of the images is animated (i.e. has 45 frames repeating within it as 45 separate images). However, you can zoom in on the images using pinch gestures, but on the animation you cannot. Is there a way to fix this? Here's some of my code to help: - (void)setUpView { //INITIALISE...

how can I do make MKMapView's pin moving on Photo Album Places view of ios4

In iOS4's photo album place, the photo-pins join and split each others when the map is zoomed out and in. It's awesome experience! and I want to use same thing on my apps. I guess, it should not be one of MapKit. does anybody know that how can i do this? ...

iPhone multiple subview animation

Hi there, I'm writing my first app with animations and I'm getting into some troubles. I have a ViewController which creates programmatically a certain number of UIView added as subviews. Now, when I touch one of these views I'd like to move it in one direction (up, right, down, left) but only if in this direction there isn't another vi...