Consider a Mathematica function that produces some number of identical, but separate shapes; like CantorMesh[2, 2]
, for example.
Is there a simple way to "replace" each of the identical shapes in the produced object with another compatible geometric region/shape, like circles?
This question is inspired by the nice Wolfram-provided example of replacing every line in a Hilbert curve with a spline:
Graphics[{Thickness[Large], HilbertCurve[4] /. Line -> BSplineCurve}]