Evolving fracture patterns: columnar joints, mud cracks and polygonal terrain