Title Image

Don Xml's Grok This

The home of Don Demsak
Welcome to Don Xml's Grok This Sign in | Help
in Search

This Blog

Syndication

Site Sponsors

DonXml's All Things Techie

Vector Graphics and Declarative Animation with Avalon – the Analog Clock

I finally got the first of a series of articles on Avalon finished.  The actual time to write the code was only about an hour, but the writing the article was the long and hard part.  I step you thru the process of using vector graphics and declarative animation in Avalon, creating something that you may need in a Longhorn app, an analog clock.  The original analog clock was something that I had done a couple years back with a friend of mine, using SVG.  There are only a couple lines of C# code need to set the starting time.  The rest of the animation is handled using the SMIL like animation elements in Avalon.  If you want you can check out the original SVG here (but you will need a SVG viewer), but here is a jpeg for those of you that are SVG challenged:

The article and all the code can be found here.

DonXML Demsak

Published Tuesday, January 06, 2004 8:54 PM by donxml

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Vijay said:

A cool step by step explanatory article ! Good one !
January 7, 2004 7:49 AM

bliz said:

Yep. Very cool, Don!
January 7, 2004 1:09 PM

Rory said:

That is a *sweet* article.

In spite of the fact that most of what people pay me for involves ASP.NET, my head is still pretty much in semicolon land, and your tutorial did a good job of showing me how to take advantage of the angle brackets in Avalon (you'd think I'd be used to them by now, but my instinct is still to try to avoid the markup for anything "complex").

I've done work in Java that was very similar to what you showed in your article (had to code an applet that involved a bunch of dials and needles), and the Avalon/angle bracket way is about 900,000 times more clear/concise/superior than the semicolon verion.

Thanks, mister.
January 7, 2004 11:01 PM

TrackBack said:

January 9, 2004 6:24 AM

TrackBack said:

January 9, 2004 6:25 AM

TrackBack said:

Making Sam's New And Notable
January 9, 2004 8:41 AM

Fumiaki Yoshimatsu said:

Manual trackback...
January 13, 2004 2:27 AM

TrackBack said:

Fumiaki Yoshimatsu
January 13, 2004 11:40 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit

About donxml

I’m an independent consultant, specializing in .Net solutions architecture, based out of New Jersey who also doubles as an evangelist for XML, Domain Driven Design, enterprise architecture and .Net. I do not work for Microsoft, the W3C or any other big company that you may know of (at least not yet). I’ve been an indie for over ten years, and although I’ve been tempted a couple times to take a job with companies like Microsoft, I’ve haven’t found something better than my current situation. I work mostly with the large pharmaceuticals that are based here in New Jersey, and usually find myself on long term contracts. Definitely not the prototypical indie consultant, but it lets me dedicate time to my non-income generating activities like the developer community stuff, plus financing open source projects like XPathmania and MVP-XML. If you would like to talk to me about doing some contract work, just contact me via the contact page. My rates vary widely, depending on lots of different variables, but mostly distance from Jersey, and type of work. Plus, I’ve been known to donate some of my code for various projects.
Powered by Community Server, by Telligent Systems