Some HTML canvas experimentation that got out of hand