add demo for online drawing