# Plane Filling Curves: One of Sierpinski's Curves

W. Sierpinski introduced a plane filling curve in a 1912 article. The curve follows the subsquares in the same sequence as Hilbert's curve. As [H. Sagan, p. 50] writes

Sierpinski showed that there is a bounded, continuous, and even function $f$ of a real variable $t$ which satisfies the functional equation

$f(t) + f(t+1/2)=0$

for all real $t$ and

$2f(t/4)+f(t+1/8)=1$

for all $t\in [0,1]$ and

$(f(t), f(t-1/4)), 0\le t\le 1$

passes through every point of the square $[-1,1]^2$.

He then constructed such a function and showed that the the resulting curve is the limit of a uniformly convergent sequence of closed polygons several first member of which are illustrated by the applet below.

(To see the progress of polygonal approximations keep clicking in the applet area.)

### If you are reading this, your browser is not set to run Java applets. Try IE11 or Safari and declare the site https://www.cut-the-knot.org as trusted in the Java setup. What if applet does not run?

Pólya later (1913) observed that a diagonal of the square neatly divides the curve into two pieces each contained in one half of the square.

### Reference

1. H. Sagan, Space-Filling Curves, Springer-Verlag, 1994 ### Plane Filling Curves
{"ft_lang_label":"__label__en","ft_lang_prob":0.83622193,"math_prob":0.97386706,"size":1538,"snap":"2020-45-2020-50","text_gpt3_token_len":447,"char_repetition_ratio":0.1714472,"word_repetition_ratio":0.025210084,"special_character_ratio":0.27438232,"punctuation_ratio":0.09540636,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9987951,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,5,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-20T03:10:54Z\",\"WARC-Record-ID\":\"<urn:uuid:cf90e26c-8c5c-488e-87f5-e3bd992ad74d>\",\"Content-Length\":\"13535\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:461a92a9-ef3e-4f03-a07b-1e251b39ad83>\",\"WARC-Concurrent-To\":\"<urn:uuid:0135e8a5-31c1-4a29-a25c-6c0e8a771103>\",\"WARC-IP-Address\":\"107.180.50.227\",\"WARC-Target-URI\":\"https://www.cut-the-knot.org/Curriculum/Geometry/SierpinskiCurve.shtml\",\"WARC-Payload-Digest\":\"sha1:JI47SEXAMYL24KQMUS5ZPJCBROVRJEOY\",\"WARC-Block-Digest\":\"sha1:P6MSNKE3AMRMC6BJSUV6CYTNSVLUIB67\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107869785.9_warc_CC-MAIN-20201020021700-20201020051700-00356.warc.gz\"}"}