CC Lab 3rd Assignment Canvas animation

NOT WORKING AT ALL, ARRAYS ARE STRANGE IN JS CANVAS