Some JS classes and functions that help me being faster doing quick canvas things (vectors, animation loop etc.)