New York workshop

As part of my ongoing crazy travel schedule, I’m going to be in Denmark in two weeks, and then off to Minneapolis for the brilliant Eyeo Festival. After that, I’ll be in New York for the Reasons Festival so I decided to spend the rest of June in the city.

And I’ve also decided to run a CreativeJS workshop while I’m there! It’ll be a 2 day course from 21-22nd June, prices from $999 ($699 for freelancers) Tickets on sale from Wednesday 23rd at 11am East Coast Time – they tend to sell out very quickly, so if you’d like early access, leave your email address.

Full details on my training page.

Battle of the Browsers

image by Andi Smith

I had a great time at the State of the Browser conference in London on Saturday – it was nice to see representatives from FireFox, Chrome, Opera and MSIE all getting along so well.

Getting along well is all nice and stuff, but isn’t it more fun if there’s a bit of tension? So to stir things up a bit I live coded a fun but completely irrelevant test that would pit the browsers against each other and stretch them to their limits.

It’s based on this micro tutorial on and works on a pixel level, directly manipulating the 2D canvas data to render pixel particles.

Although it was a completely unfair test (I even cheekily ran IE in a VM as punishment for not making a cross platform browser 😉 ) it’s still kinda astonishing that JS can render millions of particles without catching breath.

image stolen from the Mozilla blog

When asked, most people assumed that Chrome would be fastest, but it was actually FireFox that won the challenge with around 3.6 million particles. This is most likely because they’ve implemented typed arrays in their canvas image data object (coming in the next Chrome, apparently).

Run the test for yourself here and play with the code on JSBin. Keep the mouse pressed until the red bar hits the right hand side (Which means we’re running at 5 fps).

For sensible write ups of the event that mostly ignore irrelevant particle tests :

Remy Sharp
Andi Smith