shape redraw demo