Hilbert curve: Difference between revisions
Content added Content deleted
imported>Tromp |
|||
Line 477: | Line 477: | ||
As shown in https://www.ioccc.org/2012/tromp/hint.html, the 142+3 byte BLC program |
As shown in https://www.ioccc.org/2012/tromp/hint.html, the 142+3 byte BLC program |
||
< |
<pre>0000000 18 18 18 18 11 11 54 68 06 04 15 5f f0 41 9d f9 |
||
0000020 de 16 ff fe 5f 3f ef f6 15 ff 94 68 40 58 11 7e |
0000020 de 16 ff fe 5f 3f ef f6 15 ff 94 68 40 58 11 7e |
||
0000040 05 cb fe bc bf ee 86 cb 94 68 16 00 5c 0b fa cb |
0000040 05 cb fe bc bf ee 86 cb 94 68 16 00 5c 0b fa cb |
||
Line 486: | Line 486: | ||
0000160 18 58 1b fe 5c 10 42 ff 80 5d ee c0 6c 2c 0c 06 |
0000160 18 58 1b fe 5c 10 42 ff 80 5d ee c0 6c 2c 0c 06 |
||
0000200 08 19 1a 00 16 7f bc bc fd f6 5f 7c 0a 20 31 32 |
0000200 08 19 1a 00 16 7f bc bc fd f6 5f 7c 0a 20 31 32 |
||
0000220 33</ |
0000220 33</pre> |
||
(consisting of the 142 byte binary prefix https://github.com/tromp/AIT/blob/master/hilbert followed by "123") outputs the 3rd order Hilbert curve |
(consisting of the 142 byte binary prefix https://github.com/tromp/AIT/blob/master/hilbert followed by "123") outputs the 3rd order Hilbert curve |
||
< |
<pre> _ _ _ _ |
||
| |_| | | |_| | |
| |_| | | |_| | |
||
|_ _| |_ _| |
|_ _| |_ _| |
||
Line 497: | Line 497: | ||
|_| _| |_ |_| |
|_| _| |_ |_| |
||
_ |_ _| _ |
_ |_ _| _ |
||
| |___| |___| |</ |
| |___| |___| |</pre> |
||
=={{header|BQN}}== |
=={{header|BQN}}== |