add single background mode for canvas drawing. two demo html files.