Skip to content

Comment on My winter break project — Silk

Comments

  $(function() {
    if ($.browser.msie) // Sorry, I tried. && $.browser.version < 9)
      $('body').addClass('ie')
  })
What was the deal breaker in IE9, out of curiosity?

I would imagine excanvas would struggle with this... however..

If Yury hasn't already, definitely give it a shot with FlashCanvas: http://flashcanvas.net/ Its performance is somewhere around 33x faster than the vml-based excanvas. (Yes, 3300% better.)

I get why that would be the issue for IE <9, but the latest preview version of 9 has canvas support. Hardware accelerated, even.

My guess is IE 9 doesn't supports the 'lighter' globalCompositeOperation on the canvas which is key to making the effect work. Without it I bet the lines look pretty dull.

As it turns out, it works pretty well with the latest IE9 Platform Preview, long as you switch IE's user-agent to one of the supported browsers. I think you're onto something though, because it does look less shiny in IE than in Chrome.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.