javascript sprite based canvas game code example Example: how to render a sprite in html5 image <source> = "sprite name here"