Site Logo

Pixel-in-Gene

Exploring Frontend Development with Design / Graphics / Technology

A great tool for visualizing KeySplines

WPF provides a keyspline based animation for achieving very realistic effects. Creating an ease-in, ease-out effect is a matter of specifying the right keyspline values. I have always found it difficult to visualize these values and in an attempt to alleviate my pain and misery I have spent many days bugging Google to get me the results I want. At last I have found a tool that seems to work very well. Surprisingly the tool is SVG based, which is very similar in concept to XAML.

Where do I get it?

The tool is actually a SVG file which you can open up in any SVG viewer. However I find the Adobe SVG Viewer plugin for Internet Explorer the best among the lot.

  1. Get the Adobe SVG Viewer (the download link is at the bottom of the page) and install
  2. Get the KeySpline visualizer tool (SVG file)
  3. Open the SVG file in IE

But I want to use FireFox?

No problem! There are few extra steps you have to do:

  1. Go to the Install folder of the SVG viewer (generally: C:Program Files\Common Files\Adobe\SVG Viewer 3.0).
  2. Copy the files: NPSVG3.dll and NPSVG3.zip to the plugins folder of FireFox (generally: C:Program Files\Mozilla Firefox\plugins).
  3. Restart FireFox

Finally the tool

keysplines

By moving the red circular handles you can tweak the KeySpline and also visualize the animation. And of course you know how to use the KeySpline values in your XAML ;)

A great tool for visualizing KeySplines
Pavan Podila
Pavan Podila
September 15th, 2006