Nimble Coder

Adventures in Nimble Coding
posts - 76, comments - 39, trackbacks - 0

SilverLight

Animated Clocks for SVG and Silverlight

At one point in time I found a cool clock graphic and I was looking for it again because it gave a fairly detailed explanation on making a nice looking vector based clock (it was the Codeproject article by Marc Clifton). During my search I found numerous implementations of both SVG and Silverlight clocks and I decided to catalog my findings. The animated clocks are not necessarily practical to display on web pages, but an interesting exercise and fun as well. SVG Clocks Adobe SVG Clock by Adobe (unknown date) A very basic looking...

posted @ Wednesday, December 30, 2009 1:17 AM | Feedback (6) | Filed Under [ SVG Programming SilverLight ]

Spinning Wait Symbol in Silverlight, Part4

SpinningCursor4.zip (57 KB): Source (VS2008/Silverlight 2.0) Series History Part 4: Adding an animation (static XAML) to the slices (in Silverlight/C#) Part 3: Adding curvature to the slices (in Silverlight/C#) Part 2: Dynamically building slices (in Silverlight/C#) Part 1: Treo-like wait symbol in static XAML   Introduction The goal of these posts is to build a spinning cursor similar to the Mac OS X wait cursor through programmatic means in Silverlight. The cursor is still very rough and will undergo improvements progrressively. One of the reasons to build the cursor programmatically is to have...

posted @ Thursday, November 06, 2008 2:03 AM | Feedback (2) | Filed Under [ C# SilverLight ]

Spinning Wait Symbol in Silverlight, Part3

SpinningCursor3.zip (34 KB): Source (VS2008/Silverlight 2.0) Series History Part 3: Adding curvature to the slices (in Silverlight/C#) Part 2: Dynamically building slices (in Silverlight/C#) Part 1: Treo-like wait symbol in static XAML In this post, I add curvature to the slices and refactor the code to support upcoming features. The goal of these posts is to build a spinning cursor similar to the Mac OS X wait cursor through programmatic means in Silverlight. One of the reasons to build the cursor programmatically is to create it will different number of slices or rotation or other...

posted @ Wednesday, October 29, 2008 11:16 AM | Feedback (3) | Filed Under [ C# SilverLight ]

Spinning Wait Symbol in Silverlight, Part 2

After my previous spinning wait symbol, I decided to see how difficult it would be to create a Silverlight version of the Mac OSX wait cursor that I referenced in the previous post. The Mac OSX cursor is commonly referred to as the "Spinning Pizza of Death" or the "Marble of Doom" and in fact there is a Marble of Doom web site dedicated to the amount of time spent waiting while watching the spinning cursor. The Marble of Doom web site has a very nice and large version of the cursor using Flash although it doesn't have any vector...

posted @ Monday, October 20, 2008 3:08 PM | Feedback (0) | Filed Under [ C# Programming SilverLight ]

Spinning Wait Symbol in Silverlight

Download: RotatingHourGlass VS2008 Source/Silverlight beta 2 (503 KB) My wife has a Treo with Windows Mobile and I when I was using it I noticed it had a cool rotating wait symbol, so I wondered how difficult it would be to build the symbol in Silverlight. The symbol is similar to the old BeOS wait cursor and has as well as the Mac OS X wait cursor which I've always thought looks nice. At one point in time I created a Windows cursor that duplicated the look of the BeOS cursor but I don't use it anymore. If I...

posted @ Wednesday, October 08, 2008 8:03 AM | Feedback (0) | Filed Under [ C# SilverLight ]

Bouncing Balls in Silverlight Part 1

BounceTest1 (104 KB): Source (VS2008) Recently I wanted to make a very simple sample in Silverlight that used a little code to animate bouncing balls. The overall effect is fairly simple, but getting the sample down to the basics took a little time. As part of my research, I looked at several old bouncing ball demos using JavaScript and it was an eye-opening reminder of the dark ages of browsers and JavaScript. For the sample, I wanted to keep everything very simple. I started with a circle (ellipse with the...

posted @ Sunday, September 14, 2008 11:28 PM | Feedback (0) | Filed Under [ C# SilverLight ]

On Sample Simplicity

I was working through a Communications sample of connecting SilverLight to POX, then Web Services, and finally WCF and I came across the following instructions: (Part 1: POX) The Generic handler will process an incoming request using the code declared in the ProcessRequest function. This function should create some new instances of CityData and add them to the myCities list. Here are some examples of cities with longitude and latitude { (London, 51.5, 0), (Stratford-upon-Avon, 52.3, -1.71), (Edinburgh, 55.95, -3.16) }. See if you can write the code to do this. (And later in the lab...) In this example...

posted @ Friday, June 13, 2008 4:08 PM | Feedback (0) | Filed Under [ C# Programming SilverLight LINQ ]

Powered by: