Free Online Utility • Interactive Fractal Studio • 2× HiDPI + SVG Engine

Takagi Fractal

Plot Teiji Takagi's 1903 Blancmange Curve T_w(x) = Σ w^k · s(2^k · x) — the classic continuous nowhere-differentiable fractal function — with tunable weight w, harmonic wave overlays, zoom, and SVG/PNG export.

Landsberg Weight Parameter (w)0.5
Triangle Wave Harmonics (N)10
Stroke / Detail1.8px
Rotation Angle0°
Mathematical Specification Fractal Studio
Takagi-Landsberg Blancmange Function (1903):
T_w(x) = Σ_{k=0..N} w^k · s(2^k · x),   s(x) = min_{n∈ℤ} |x − n|
Exact Area Under Curve: ∫_0^1 T_w(x) dx = 1 / (4 · (1 − w))
For w = 1/4: T_{1/4}(x) = x(1 − x) (Exact Smooth Parabola!)
For w ≥ 1/2: Continuous & Nowhere Differentiable, D_H = 2 + log_2(w)
DiscovererTeiji Takagi (1903)
Classic w=1/2 AreaExact 1/2 on [0, 1]
Classic w=1/4 SurpriseExact Parabola y = x(1 − x)!
INTERACTIVE 2× HIDPI CANVAS
Takagi Fractal
100% • Scroll to Zoom • Drag to Pan
Client-side 2× HiDPI + Lossless SVG Engine Instant

Session Calculation Log

No entries recorded in this session yet.

Mathematical Foundations of Takagi Fractal

Published by Japanese mathematician Teiji Takagi in 1903 (and named the "Blancmange Curve" by John Mills because its mounded silhouette resembles the French pudding), the Takagi function T_w(x) sums infinitely many triangle waves of frequency 2^k and amplitude w^k. For w = 1/2, it provides the simplest constructive example of a continuous function on [0, 1] that has no derivative at any point.

Self-similar fractals exhibit recurring geometric structure across scales, governed by Iterated Function Systems (IFS), Lindenmayer L-System rewriting rules, or recursive spatial subdivisions. Every geometry calculation, 2× HiDPI canvas pass, progressive animation frame, and lossless SVG vector export executes natively inside your browser at 60 FPS with zero server latency.

Triangle-Wave Fourier-Like Series & Parabola Identity

Sawtooth distance to nearest integer: s(x) = min_{n ∈ Z} |x - n|
Takagi-Landsberg Series: T_w(x) = sum_{k=0}^∞ w^k · s(2^k · x)
Miraculous Archimedes Identity at w = 1/4:
  sum_{k=0}^∞ (1/4)^k · s(2^k · x) = x(1 - x)  for all x ∈ [0, 1]!

Click the Smooth Parabola Limit (w=0.25) preset to verify Archimedes' geometric dissection theorem visually: summing jagged triangle waves with amplitude (1/4)^k cancels every sharp corner and converges to the exact smooth parabola y = x(1 - x)!

Iteration Scaling & Complexity Table

Iteration / SettingElements / SizeGeometric Property
w = 0.25D_H = 1.0000Exact smooth parabola y = x(1 - x), Area = 1/6
w = 0.50 (Classic)D_H = 1.0000 (Box)Nowhere differentiable Takagi Blancmange, Area = 1/2
w = 0.68D_H = 1.4426Rough Takagi-Landsberg mountain profile
w = 0.78D_H = 1.6415Highly serrated self-affine waveform

Applications in Science, Graphics & Engineering

Real Analysis Counterexamples

Simpler than Weierstrass's cosine series, Takagi's triangle-wave sum proves using elementary arithmetic that continuity does not imply differentiability.

Number Theory & Binary Digit Sums

Evaluating T_{1/2}(k / 2^n) counts the binary Hamming weight patterns of integers from 1 to 2^n, linking the curve to Trollope-Delange asymptotic formulas.

Brownian Bridge & Financial Modeling

For w = 1/√2 ≈ 0.707, the Takagi-Landsberg curve mimics the Hölder exponent 1/2 of a 1D Brownian bridge.

Harmonic Superposition Pedagogy

Toggle Sawtooth Harmonic Components on/off to see how each individual triangle wave adds higher-frequency ripples onto the sum curve.

Interactive Controls, Pan/Zoom & Vector Export

Compare w = 0.25 (exact parabola), w = 0.50 (classic Takagi pudding), and w = 0.78 (rough Landsberg graph) with live harmonic component overlays and lossless SVG export.

Export crisp 2× Retina PNG renders for presentations or scalable infinite-resolution SVG files directly into Illustrator, Figma, Inkscape, LaTeX, or laser-cutting workflows.

Frequently Asked Questions

Why is the Takagi function also called the Blancmange Curve?
Its rounded, symmetric tiered domes resemble the traditional molded pudding dish called blancmange.
Why does w = 0.25 produce a completely smooth parabola out of sharp triangle waves?
By Archimedes' quadrature of the parabola, the midpoint deflection of y = x(1 - x) over any sub-interval of width 2^(-k) is exactly (1/4)^(k+1), so the triangle wave corners cancel identically in the limit!
What is the exact area under the classic w = 0.50 Takagi curve on [0, 1]?
Each triangle wave s(2^k x) has average height 1/4, so the area is (1/4) * sum_{k=0}^∞ (1/2)^k = (1/4) * 2 = 1/2.
What is the Hausdorff dimension for w > 0.5?
For 1/2 < w < 1, the graph of the Takagi-Landsberg function has Hausdorff and box-counting dimension D_H = 2 + log_2(w).