Bezier Spline Designer using Avalon

A mini designer to create Bezier spline curves using the Path shape from Avalon.
Over the past month or so, I've been dabbling around with Avalon and XAML. Its been really exciting with so much cool new stuff out there. After a few rough and crude set of experiments, I thought I'd try writing a little app that was atleast somewhat polished and pretty-looking (at least as far as my limited design skills would take me as I mimic'd some of the aero experience) and get a sense of what it takes to do so. The result is a mini-designer to generate bezier spline curves.

The little app allows you to choose the brush characteristics, define transformations, create a little animation, and finally export the results to a .xaml file (sample generated .xaml file). I wrote the app using the PDC bits. You can download it to generate your own animated bezier curves. Let me know what you think via your comments. Here are some screenshots as well:


The experience has been an interesting one. I kept wanting to write custom controls for various aspects of the UI (given my asp.net experience I suppose) - but managed to stick to using declarative styles. I am starting to like this new model, but still wonder where do declarative styles, visual trees and visual triggers end and where does a rich set of components come in. Couple of other new things that came along the way - using declarative two-way data-binding with some sort of MVC-ish approach, and using vectors rather than bitmaps for the images. Pretty cool stuff. I am hoping to get the code ready for sharing at some point... maybe as a gotdotnet workspace.

Besides just using a classbrowser on the MSAvalon namespace, some blog entries (by Nathan Dunlap and Fumiaki Yoshimatsu) really helped: Looking forward to spending (and finding!) more time to play with this new stuff...
Posted on Thursday, 2/12/2004 @ 10:54 AM | #Projects


Comments

8 comments have been posted.

Erwyn van der Meer

Posted on 2/12/2004 @ 12:53 PM
Hi Nikhil, there is a typo in the download URL. It should be http://www.nikhilk.net/Content/Samples/Bezier.zip instead of http://www.nikhilk.net/Conent/Samples/Bezier.zip. By the way judging from the screenshots it looks really great. I'll reboot from XP to Longhorn to try it out.

Brad Abrams

Posted on 2/12/2004 @ 4:24 PM
I love it -- the server guy is playing with Avalon! What a great marriage...

TJ

Posted on 2/12/2004 @ 4:51 PM
Hey,

First time at your Blog and I had to comment that that app looks awsome. Looks really professional and polished.

Seema

Posted on 2/12/2004 @ 7:17 PM
Awesome work! But no more late night projects from now on honey... :-)

Ryan Dawson

Posted on 2/12/2004 @ 9:06 PM
From playing around a bit, it looks like you spent a lot of time. Anyway, hurry up and post the code, everyone is waiting :)

Blair Stephenson

Posted on 2/15/2004 @ 12:42 PM
Cool app.

Any chance of posting you code as is.

An example of a "real" app would be very useful.

Elrey Ronald V.

Posted on 3/16/2004 @ 1:42 PM
Great App! I finally was able to run in in PDC Longhorn.

Joost Sipkema

Posted on 9/1/2004 @ 12:56 PM
Hi Nikhil,

The screens look great!

As yourself I am amazed at the possibilities en enhanced workflow of XAML.
I was wondering if XAML will also be ported to .NET so it can be used on Windows platforms older then Loghorn such as XP/98 etc.

I am interested in using XAML as a solution for creating and distrubuting online (interactive) 3D content; do you know of such devlopments, and if so could you refer me to them?

BTW Great work on Webmatrix; i enjoy working with it.

Thanks in advancefor your response!

Best, Joost.
joost.sipkema@artificialindustry.com
The Netherlands
The discussion on this post has been closed. Please use my contact form to provide comments.