I\'m learning some canvas stuff and am making a personal project with HTML/JS so pardon my ugly inelegant code. In the code below, when only one of the a/b/c/d functions is