Get canvas attributes for snake