Blog Post RSS ?

Blogs » Web Tech » OSCON 2006: No Flash Required: Interactive Browser Graphics
 

OSCON 2006: No Flash Required: Interactive Browser Graphics

by Kevin Yank

This week, Kevin Yank is reporting from OSCON 2006 in Portland, OR.

Gavin Doughtie has done stints in games development for Sony, web development for idealab, and software development for Picasa, but these days he works at DreamWorks Animation (yes, as in Shrek), and in his spare time dabbles in the heady world of in-browser interactive graphics. His buddy Jon Stewart (sorry Jon, I came in late and couldn’t find a bio for you) came along to offer Internet Explorer work-arounds for many of the things that aren’t supported in IE.

This talk was really a grab-bag of solutions that mostly work here and there, a few experimental things that are on the horizon, and a couple of stand-outs that could practically be used today. The slides are available online.

For vector graphics, the obvious choice is the W3C standard for such things: Scalable Vector Graphics (SVG). Though slick and all-powerful, SVG doesn’t yet work in Internet Explorer, but that browser has the Microsoft equivalent: VML. Safari will support SVG soon, but not just yet.

For raster (pixel-based) graphics, there is Canvas, which also works in everything except Internet Explorer. Again, Internet Explorer has its own proprietary alternative, DirectAnimation, although that is being removed in Internet Explorer 7. The solution for IE7 is looking to be Windows Presentation Foundation (WPF).

Of course, writing to these various and sundry APIs in a real-world application is not really practical, which is why we see so little in the way of dynamic graphics on the Web right now, but there are solutions in the offing, in the form of several cross-browser drawing APIs.

The ExplorerCanvas project, from Google, attempts to support most of the functionality of Canvas in Internet Explorer by converting drawing instructions to VML. IESVG does a similar trick for SVG in Internet Explorer.

Very basic SVG support can also be added to Safari using the CanvaSVG project until full support for SVG appears in a final release of this browser.

Most promising, though not yet ready for prime time, is the work that Doughtie is doing on a drawing API for the Dojo Toolkit. Named dojo.gfx, the library will combine many of the capabilities of the above-mentioned projects into a single API. The brief demos shown during this talk seemed promising indeed!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. Google Offers 3D Rendering in the Browser Google's new O3D project provides a plugin that allows developers...
  2. Microsoft Abandons Windows E and Reveals the Browser Ballot Screen Microsoft has dropped the European-specific version of Windows 7. Craig...
  3. IE’s Decline Makes ‘Cross Browser’ More Relevant Four years ago, 9 out of every 10 web users...
  4. Designer Needed, Portfolio Required I am always surprised to find a web designer who...
  5. 5 Reasons Why You Should Not Publish Supported Browser Lists Do you publish a list of supported browsers for your...

This post has 6 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...