PeanoCurve
PeanoCurve[n] gives the line segments representing the nth-step Peano curve.
Examples
Draw a Peano curve:
Graphics[PeanoCurve[3]]Higher order curve:
Graphics[{Thick, PeanoCurve[4]}]Please visit the official Wolfram Language Reference for more details.