In mathematics, the blancmange curve is a fractal curve constructible by midpoint subdivision. It is also known as the Takagi curve, after Teiji Takagi who described it in 1901, or as the Takagi–Landsberg curve, a generalization of the curve named after Takagi and Georg Landsberg. The name blancmange comes from its resemblance to a pudding of the same name. It is a special case of the more general de Rham curve.
The blancmange function is defined on the unit interval by
where is the triangle wave, defined by , that is, is the distance from x to the nearest integer.