### Hilbert curve and fourier transform

Hilbert curve is a fractal curve of Hausdorf dimension 2 that fills the interior of a square. It provides continuous mapping from real interval [0;1] to unit square. This mapping is not invertible: some different points of [0;1] are mapped to the same points of the unit square.

Let us assign a color to each point of the unit interval, in simple repeating manner, and map the colored points to the square. This procedure will produce a monotonous flat pattern, which is not actually periodic.

Not an exciting sight. However 2D Fourier transform of this pattern reveals amazingly complex fractal structure:

The picture above shows filtered (invert, despeckle and colorization filters were used) and scaled version of the transformed pattern. Apparently, it contains multiple images of some "rounded rectangle" shape. This shape always appears in the Fourier transform of the every repetitive Hilbert curve pattern. What is the equation of this shape? I don't know.

### Comments

Han Solo said…
Nice Pic. Is it a Sierpinski-Fractal?!
Um, sorry for the late answer. Never expected somebody will post comments to my blog. Well, it shows some fractal features, but it is different from the Sierpinski fractal. Most interesting thing is that this picture was not obtained as the result of some iterative procedure, like all fractal images, but instead as Fourier transform of another picture.