Painting example. Closes #110.