animation

Can You Use A DynamicResource in a Storyboard Contained Within Style Or ControlTemplate

I am trying to use a DynamicResource in Storyboard contained within a ControlTemplate. But, when I try to do this, I get a 'Cannot freeze this Storyboard timeline tree for use across threads' error. What is going on here? ...

2D animation in Python

I'm writing a simulator in Python, and am curious about options and opinions regarding basic 2D animations. By animation, I'm referring to rendering on the fly, not displaying prerendered images. I'm currently using matplotlib (Wxagg backend), and it's possible that I'll be able to continue using it, but I suspect it won't be able to su...

Best 2D animation library/tech for "iPhone" style animation on WIN32?

All, I have built a nifty demo application that displays data about our internal systems as a full-screen "billboard" style display. You could think of this as something like an application displaying the national deficit - rapidly increasing numbers, animating very quickly, all day. The problem is that the demo works really well and t...

What is the best way to do a flicker-free animated C# custom control?

Hello community, I am currently creating a custom control that needs to handle animation in a C# project. It is basically a listbox that contains a fixed number of elements that are subject to move. An element (another user control with a background image and a couple of generated labels) can move upwards, downwards or be taken out of t...

Simple animation using C#/Windows Forms

I need to knock out a quick animation in C#/Windows Forms for a Halloween display. Just some 2D shapes moving about on a solid background. Since this is just a quick one-off project I really don't want to install and learn an entire new set of tools for this. (DirectX dev kits, Silverlight, Flash, etc..) I also have to install this o...

jQuery animation

I'm having some minor problems with some animations I'm trying to set up. I have a couple divs stacked on top of each other kind of like this. <div id="div1"> Stuff... </div> <div id="div2"> More Stuff... </div> Each of these divs has a drop shadow applied to it via jQuery plugin (jquery.dropshadow.js). The problem occurs when...

Libraries for text animation in Flex / Actionscript ?

Are there any good libraries for cool text animation effects for use in Actionscript (for use in an intro screen or banner). I've given up tryin to use Flash itself because that takes forever, and I dont know which of the many flash text animation tools to choose from. I'd like to be able to dynamically product cool text effects with d...

How do I get an animated gif to work in WPF?

What control type should I use - Image, MediaElement, etc?? ...

Books on animation, recommendations?

I would like to better understand the math behind animations, 3d and 2d. I recently came across this example via Digg. http://maettig.com/code/javascript/3d_dots.html It is pretty interesting and another animation experiment on the same site is just as impressive. http://maettig.com/code/javascript/swirl.html With FF 3.1 and WebKit-b...

What's the best way to display a small embedded animated image with Flex?

I need to display a small (15x15 pixel) animation in a Flex app. I have it FLV format, but it could be converted to somthing else. I'd prefer to have the file embedded in the app (it's only 8k in size). I've seen posts about displaying animated GIFs using third-party code which would be OK, but is there a way to do this with the nativ...

What's the best way to apply a drop shadow?

What is the best method for applying drop shadows? I'm working on a site right now where we have a good deal of them, however, I've been fighting to find the best method to do it. The site is pretty animation heavy so shadows need to work well with this. I tried a jQuery shadow pulgin. The shadows looked good and were easy to use but...

How to Let WPF Control Animation Complete before Removing from Visual Tree

I have a scenario where I would like to animate a WPF control right before it is removed from the visual/logical trees. The control is custom, and the control style, including animations would be supplied by a designer (i.e. I don't know the details of what they will be at the time of writing the control code). I would like to provide ...

How to display a loading screen while site content loads

Hello! I'm working on a site which contains a whole bunch of mp3s and images, and i'd like to display a loading gif while all the content loads. I have no idea how to achieve this, but I do have the animated gif I want to use. any help? Thanks! ...

jQuery Animation - Smooth Size Transition

So this might be really simple, but I haven't been able to find any examples to learn off of yet, so please bear with me. ;) Here's basically what I want to do: <div>Lots of content! Lots of content! Lots of content! ...</div> .... $("div").html("Itsy-bitsy bit of content!"); I want to smoothly animate between the dimensions of t...

Fade between Tab Pages in a Tab Control

I have a Tab Control with multiple Tab Pages. I want to be able to fade the tabs back and forth. I don't see an opacity option on the Tab Controls. Is there a way to cause a fade effect when I switch from one Tab Page to another? ...

How can I set up a callback to run *before* a jquery animation?

I'm trying to set up a loop where an animation runs a certain number of times, and a function is run before each iteration of the animation. The timing ends up being off, though -- it runs the callback n times, then runs the animation n times. For example: for (var i=0;i<3;i++) { console.log(i); $('#blerg').animate({top:'+=50px'},7...

How to create a picture with animated aspects programmatically

Background I have been asked by a client to create a picture of the world which has animated arrows/rays that come from one part of the world to another. The rays will be randomized, will represent a transaction, will fade out after they happen and will increase in frequency as time goes on. The rays will start in one country's bou...

Paging Alternatives

I'm working on a project that returns paged results with volumes potentially in the hundreds of pages. I've been playing around with more usable ways to perform paging than the standard fisrt/last/next/previous links and jump-to text box. One alternative I had was to have a scrolling list of pages. I'd display 5 to 7 links at a time, cen...

Any advice on 'breaking' an object out of its layout in Flex - for animation purposes?

If I have an object in a layout in Flex what is a good way to 'break it out' of that layout to be able to animate it. For instance I have an image and a caption arranged at an angle. I want to make the image 'zoom out' slightly when the mouse rolls over it. Since its in a layout container is active if I were to resize it then obviously ...

Resources for animations in WPF/Silverlight?

Hi all, I'm looking for some good resources to ramp up on the animation/storyboard concepts used in WPF/Silverlight. Any pointers? ...