Some javascript helpers I wrote for creating Canvas games. The code is pretty bad because of my rudimentary javascript, but I wrote these to avoid having to repeat the same boilerplate code for every canvas prototype I make.