I am having an issue getting addEventListener to trigger properly with my canvas element.
Issue: When I add addEventLister onto my canvas element it automatically forces to animation refresh rate to run at the same time the event listener is being triggered.
Basically I have "setInterval(draw, 500);" which updates the canvas every 500 milliseconds. Without the event listener it will constantly refresh at it's intended rate; however, when I add an action listener it force-refreshes canvas and causes all animations to speed up.
In the source code you will find two functions drawCircle and drawCircleTest which is specifically designed for testing the refresh issue.
hmm, for some reason the source code doesn't want to paste properly
Source Code: http://home.insightbb.com/~epyonxl1/html5_test.htm
Thanks in advance for taking a look!!!