Apparently Opera 9 TP2 will be released tomorrow. I'm excited about this because in numerous bug reports and emails that I've sent to Opera developers over the past 4 months, lately all I hear is "This is fixed in our current development build". Well now I'll get a chance to taste that - let's hope we see numerous improvements in the SVG implementation. Opera Widgets sounds like a really cool concept too, taking on Mozilla's XULRunner approach.
Some people didn't like the fact that the snow in my scripted SVG blog header was causing the Firefox CPU load to rail. My excuse was that I was trying to push out some content before the Holiday rush hit and I had to go travelling. Given that the season is now over, I spent about 20 minutes optimizing the script. My apologies to all those CPU fans out there for the last couple weeks...
Other than minor JavaScript tweaking (like removing parsing of strings into floats and declaring variables outside of loops, etc), I decided to just have all snowflakes active at once and to slow down the timer interval. From my side, it looks like it did the trick for Firefox 1.5 but not Opera 9 TP1 (Adobe SVG Viewer was never an issue), but I'll wait to hear from my critics 😉
If you wanted to optimize this even more at the cost of perceived randomness it would be quite simple to do in SVG. I'll probably save another entry for that, but basically it involves adding flakes randomly beforehand to a few static "snow panes" (<g> elements) and then simply sliding each pane down the image at differing speeds and positions (you can add a random drift too each pane's descent too). I think it would still look pretty cool and only require updating the position of (let's say) 4 snow "panes" instead of 50 snow flakes every tick.
David Hyatt has posted in the Surfin' Safari blog that Safari nightly builds now have partial support for SVG 1.1. You can see the status of the Safari SVG implementation here. This marks the third browser that allows you to integrate HTML and SVG and script it via an XML DOM. Read the rest of this entry ...
Lot of ups, lot of downs for SVG this past month or two. Let's recap them, shall we? Read the rest of this entry ...
Kurt Cagle mirrors my own thoughts on the Opera 9 Preview (changelog).
Kurt, your code sample is white-on-white...
I agree Opera 9 Technical Preview is an impressive achievement by anyone's standards. I would have been impressed with only the improved SVG support but all the other stuff (Canvas2D, XSLT,WebForms 2.0, XPath, xml:id, etc) leaves me floored. I started my migration from Firefox to Opera this week. We'll see how it goes - my experiences might make for interesting reading...
SVG 1.2? Is there any news on whether SVG 1.2 spec itself has made any progress? I doubt Opera would release something that didn't have a spec in a final review state...