animation

simple image animation with the keyboard

Hi the app I am currently working on requires a simple animation to be performed, which I am able to do but timing is an issue. The app uses the slightly opaque keyboard and I have set up a black background to make it more visually pleasing . The app is a utility app and as the user clicks on a settings button the app will flip which loo...

How to remove animation glitch ?

Hi all , I am downloading and then parsing some data on separate thread and then updating my ui on main thread with the following code but in this scenario I am getting animation "glitch" . I have read this word somewhere . - (void)didFinishParsing2:(NSArray *)appList { [self performSelectorOnMainThread:@selector(handleLoadedAp...

jQuery - color cycle animation with hsv colorspace?

Hi there, I am working on a project, which I need a special body-background for. The background-color should cycle through the color spectrum like a mood light. So I found this: http://buildinternet.com/2009/09/its-a-rainbow-color-changing-text-and-backgrounds/ "But" this snippet is working with the RGB colorspace which has some very l...

iPad full screen (1024x768) animation with around 1800 frames problem. Low FPS

What I am trying to do is to play a full screen (1024x768) animation on iPad with an around 20 fps. I have got a scene with 1800 full screen frames. Until now I have tried a lot of approaches but have encountered a lot of problems. My first approach was to get the texture using the following function t = [[CCTexture2D alloc] initWithIm...

Animations in C#

How to Put the animation in C#. ...

How to put animation effects on C# in WPF

I am using wpf application where i am using an image. I want to put some animation effects on it. When a user clicks on button it dissapear from the screen and move away from left to right or some this kind of animation. What classes do i need to use. Can I use silverlight or flash or something else here ...

Java controls animation - how to make them smooth and efficient

I am programming some custom controls in Java and using animation for transitions/fades/movements. The way I am doing this is that I am starting a new thread and making adjustments to variables and things are adjusted using paint() method. Example: Now, my question is, let's say for instance that I was implementing a fade in. What I w...

WPF Animation FPS vs. CPU usage - Am I expecting too much?

Working on a screen saver for my wife, http://cchearts.codeplex.com/, and while I've been able to improve FPS on lower end machines the CPU usage still seems very high. Here's some numbers I ran from a few 5 minute sampling periods: ~60FPS 35% average CPU on Core 2 Duo T7500 @ 2.2GHz, 3GB ram, NVIDIA Quadro NVS 140M (128MB), Vista [My ...

Smooth text animation (Marquee) using WPF

Trying to build a marquee control with smooth text animation. Current efforts include: Using translate transform Using animation on Canvas dependency properties (Left, Right) Using animation on custom dependency property (Point) and using drawing visuals (formattedtext) Using CompositionTarget.Rendering But the animation is still cho...

expanding/collapsing div using jQuery

example of what I'm trying to do I'm trying to expand and collapse a <div> by clicking some text inside the <div>. The behavior right now is very odd. For example, if I click the text after the <div> is expanded... the <div> will collapse and then expand again. Also, if I click somewhere inside the div after it is expanded, it will coll...

Is hardware accelerated CSS3 in Safari 4 & 5 broken, or my CSS and JS?

Hi all, I've created a somewhat silly site that shows you the expected weather forecast for any city in the World. On webkit based browsers, when the weather is sunny a sun with CSS3 animated rotated sunbeams appears. This works fine on Chrome. An example (sunny, at the moment) page is: http://willitraintoday.co.uk/iceland/reykjavik/ ...

UISearchBar animation hidding button

Hello I currently have a UISearchBar (attached to a UISearchDisplayController), but I reduced the width of the search bar so I could display a custom button to its right when the search bar is not selected. The button is used to access other views. However, when I select the search bar and then press cancel (or even perform a search) a...

jQuery background-position animation

Hi guys, I've created an image which is basically a CSS sprite of 3 images together. It's size is 278x123 so they are basically 3 images of 278x41. What I am trying to do is to make an animation of that by changing the background position. I've tried many things, one of my not very working solution is the following: var $slogan =...

Create masking effect over a view

I would like to create a masking effect over a UIView in order to accomplish the following. I will display a sealed box in the screen and the user will be able to touch (scratch) the screen in order to reveal whats behind that image(UIView). Something similar to those lottery tickets where u r suppose to scratch some cover material thats...

how to learn "Animations in COCOS2D"

hi all friends, I am new to cocos2d animations and I want to learn it , as always I stops at the point of animation while making iPhone games in cocos2d. Can any one suggest me the way to learn such animations, so that games animation creating will become easy to make. Thanks. ...

sprite animation using cocos2d working on simulator but not on device

hi, i've got a 2 frame sprite animation running along a bezier path using ccbezierto. this works perfectly fine on the simulator, no warning no errors. but strange thing is on my iphone 3GS device, the animation and the ccbezierto action does not show up on screen, the sprite disappears for the duration of the supposed animation and pop...

Timeline based animations on the iPhone/iPad

Hi guys and gals How would you go about creating a timeline animation for an iPhone or iPad application? I'm looking for something like a timeline animation in Flash. I don't need a technical explanation on how to program it, though. So here are some general questions: - I read something about UIView for PNG sequences, but aren't these...

View transform seems to be ignored when animating on iphone. Why?

I have views that can be rotated, scaled and moved around the screen. I want the view to resize and be orthogonal when the user double tap's the view to edit the textview within. The code is below. Somewhere the transform is getting reset. The NSLog statement below prints the identity transform, but a print of the transform when the ...

Android page Curl animation

Hi... Two questions: Is there a simple way to do the Curl page flipping animation? A Curl animation is animation of pages flipping, including the page above rolling and the shadows over the lower page. What is the recommended way to do a "gallery" that displays two pages at a time (just like a book)? Is it: Letting the adapter displa...

How do sprites work?

How do sprites work? I've seen sprites from old school games like Super Mario Brothers, and wondered how they're animated to make a game. They're always presented as one big image map, so how are they used? For Mario (as an example) are there precalculated image co-ordinates that outline mario, and are swapped between various mario sp...