How wax resist turned a painter into a potter