http://jsfiddle.net/muV99/16/ done
Sadly I never really used canvas before, so I don't know how to hide the dark-green afterglow.
Sadly I never really used canvas before, so I don't know how to hide the dark-green afterglow.
Also: the afterglow is caused by the main loop filling the entire canvas with a black rect with very low opacity. The result is that after so many frames, everything but the actively drawing characters are much darker. Increase the opacity if you want to reduce the length of the effect.