5 ms·
http://jsfiddle.net/muV99/16/ 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.
by b3tta 14y ago
http://jsfiddle.net/muV99/16/ 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.
- just2n 14y agoWhy is this using a map when the result is just being thrown away? Imagine how left out forEach feels :(. 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.
- asafh 14y agoAs he wrote in the fiddle's test he worked from the deobfuscated code of the original item, which probably used map to save 4 characters
- b3tta 14y agoI didn't mean the "rgba()-fillRect-command", but why the font blur is still slightly visible as dark green, while the character itself has already faded to black.