This is a feedback for the article at http://buildnewgames.com/sprite-animation/. It contains code review, bug fixes and sort of improvements.
First of all, the article concerned contains a lot of jsfiddle demonstration. I think it's really nice as we can see the code, see the result and make our change as we like. But it seems like the usage of jsfiddle may be improved. Here is the trick: jsfiddle has 3 "fields" where we can type code (for HTML, CSS, and Javascript). So please stop writing every things like this http://jsfiddle.net/dariusk/wa8eV/light/, that's insane. What is easier to read between this http://jsfiddle.net/pomeh/tQE89/ and this http://jsfiddle.net/pomeh/tQE89/1/ ? If you pay attention to the source, I've modified the onload
function to make it an anonymous one. Here is why and what happens, and here are some solutions, from worst to [best](http://jsfiddle.net/pomeh/ZjF3y/3/