Friday, January 06, 2012

sprite.js: A Framework For Efficient JavaScript Sprites

sprite.js: A Framework For Efficient JavaScript Sprites: "The library provides two rendering backends: HTML and Canvas. The HTML version, which displays sprites using DOM elements, is used by default because the Canvas backend is slower when running on Firefox, Opera and Chrome. According to the project's notes on Github, "Canvas seems faster when there is a lot of transformations applied to the sprite.""

'via Blog this'