Animations as a time function in HTML5 Games: Why and How to Implement them
codetheory.in