A progress indicator in HTML5 canvas