animation

Problem using Runnable + Handler.postDelayed for bitmap marker animation

I want to place an animated marker showing a user's current location in an Overlay over a MapActivity. I need to be able to turn the animation on and off. I thought this could be accomplished as follows: /** * Class to display current location marker above MapActivity */ public class MyLocationOverlay extends Overlay { private Ca...

Setting a timeline's target in a storyboard

I have a class that contains a Camera property of type ProjectionCamera. I wish to animate the Camera.Position. I don't understand why the following does not work: void StartMove(Vector3D direction) { //Create animation var animation = new Point3DAnimation(); animation.From = new Point3D(); animation.To = animation.From ...

Android flip image animation

I want to flip image in android through translate animation. eg:- suppose i have one card. when translate animation starts it shows the card into the new position. now here the card should flip? from backside to front. how can i do that.? ...

Combining animation frames to save space

I'm working on a project that uses a lot of graphics files. We've got about 500 60x60 PNG files making up several different animations (about 80), and taking up about 2MB of space. In the code, I just draw each frame one by one to render an animation. As an example, one of the animations is made up of 3 frames, each about 4 KB in size...

UITableView frame modification with animation issue

Hello. I have tried in so many ways to animate the frame modification of a UITableView, but when I shrink the tableview then the animation isn't smooth, first the cell content disappears, and only after that the frame is modified. As I saw this problem is present only in older OS, from iOS 3.2 this problem is fixed. Can anyone tell me a...

CSS3 animation on transform: rotate. Way to fetch current deg of the rotating element?

Hi everybody, i am working on a html5 interface wich uses drag and drop. While i am dragging an element, the target gets a css-class, which makes it bidirectionally rotate due to a -webkit-animation. @-webkit-keyframes pulse { 0% { -webkit-transform: rotate(0deg); } 25% { -webkit-transform:rotate(-10deg); } 75% { -webkit-...

A better way to stagger method calls/display 3 UIImageViews in delayed sequence

Hi all. I've managed to implement a solution to this problem, however the code just seems rather inefficient and actually, the delayed method calls are proving a little troublesome when they continue to fire if the user has navigated to another screen. Basically I want a thought bubble to appear from a character's head, but animated, so...

Making Magic Fairy Dust With JQuery

I have the following task: Add falling fairy dust (kind of like Tinker Bell) to a website logo. The falling fairy dust should be continuously animated/falling and fading out. The website logo is a png. I would like to absolutely position a div over the existing website logo image. That div would contain the animating fairy dust. I k...

Animation tools

Hey guys, I realize this is not strictly programming related, but hopefully you will let me get away with it. My group is trying to put together a very short (2 minutes or so) "film" about a new feature to our product. The feature is trying to solve a particular problem a lot of our customers have. We do not want to go with live actio...

What are the actual ms time values for Android's animTime constants?

Android includes config_longAnimTime config_mediumAnimTime config_shortAnimTime but the actual values identified by these constants don't make sense as milliseconds. I'm sure they get compiled into useful values, and I can determine them with code, but I'm sure someone else knows the answer - and, more to the point, I'm sure other pe...

Why does this line 'jump' when I call slideDown?

Since there's a lot of code, I won't post it here. Rather, you can find it all here. That way you can play around with it and run it. The problem happens when the 'Drop me down!' link is clicked. The DIV slides down as expected, but makes a sudden 'jump' right at the end. Why does it do this, and how can I make it go away? ...

Playing short animation xCode iPhone

Hi all, thanks for all your advice I took out of this forum over the last weeks. Now I've a problem where I would need your help: I want to show a series of short animations (5 animations, 10 sec each) on the iPhone. The animation would loop but the code will decide if the current loop is repeated or another loop will be started (Laug...

How can I animate an image along a circular path in WPF?

I need to create a rather complex animation involving images in WPF where an image has to move along a circular path. Here is a picture of what it looks like... Here is my xaml: <ControlTemplate x:Key="ValveStyle" TargetType="{x:Type CheckBox}"> <ControlTemplate.Resources> <PathGeometry x:Key="CirclePathGeometry" PresentationOpti...

How can I animate a view in Android and have it stay in the new position/size?

I currently have a view in my Android app and the view is playing a frame animation. I want to animate the view to increase its size to 150%. When I apply a scale animation to it, and the scale animation is completed, I want the view to stay at that new size for the rest of the activities life cycle. Unfortunately right now when the s...

Animation in WPF query

I'm playing with WPF for the first time in an animation/graphics context, and I am wondering how you'd move sprites around. I googled and came up with this example, but the animation is done by increasing/decreasing the margins and padding. My question is, is this normal? I would have thought you'd do animation by changing the x and y c...

Grabbing each frame of an HTML5 canvas

These palette cycle images are breathtaking: http://www.effectgames.com/demos/canvascycle/?sound=0 I'd like to make some (or all) of these into desktop backgrounds. I could use an animated gif version, but I have no idea how to get that from the canvas "animation". Is there anything available yet that can do something along these line...

How do I animate drawing a line in Javascript

I am trying to animate the drawing of a simple line from one point within an html element to another. The animation should be slightly slow (maybe taking like one second to reach the second point, but also customizable). I have been searching for the last couple of hours and have yet to find a single javascript library that does this for...

Rotate an image on the entire screen

I can't seem to rotate properly an image on the entire screen. The problem is that when the image rotates, you can see the background in some areas. I want the image to fill the screen also when it rotates. Here is the layout. I've tried different scale types without success. <LinearLayout xmlns:android="http://schemas.android.com/a...

Moving 3d Model in google earth?

Hi Everyone! I'm using the Google Earth Web-plugin API and I've got a 3d model of a helicopter, I can create a 3d model using the following code: var placemark = ge.createPlacemark(''); placemark.setName('model'); // Placemark/Model (geometry) var model = ge.createModel('heli'); placemark.setGeometry(model); ...

Can the QPropertyAnimation update interval be increased for ultra-smooth animation?

The new Animation Framework in Qt 4.6+ is based on QTimeLine which has 'void setUpdateInterval(int interval)' public function. Based on QTimeLine as well, QGraphicsItemAnimation could access this function, but the new animation framework classes (e.g. QPropertyAnimation) can't! Is the animation framework locked to the about 60 updates pe...