add 2d painting example