Peano curve

From Fōrmulæ wiki
Jump to: navigation, search

This page is a solution to the task Peano curve in the Rosetta Code, written in Fōrmulæ.

Description (from Rosetta Code)

Task

Produce a graphical or ASCII-art representation of a Peano curve of at least order 3.

Solution

PeanoCurveCode.png

The following is a Peano curve or order 3:

PeanoCurveCase01.png

The following creates Peano curves for orders 1 to 4:

PeanoCurveCase02.png