Loop is an animation framework using Canvas 2D