This site is supported by donations to The OEIS Foundation.
Template:Meander/doc
The {{Meander}} graphic template displays the meander image assembled from the provided matrix of meander section IDs or abbreviations.
Contents
Usage
:{{Meander|rows count|columns count|matrix (up to 16 by 16, comma separated columns, rows end with double comma) of meander section IDs (-5, -4, -3, -2, -1, 0, +1, +2, +3, +4, +5) }} or :{{Meander|rows count|columns count|matrix (up to 16 by 16, comma separated columns, rows end with double comma) of meander section abbreviations (XH, UD, LT or TL, BR or RB, LR or RL, O, BT or TB, TR or RT, LB or BL, DD, XV) }} or :{{Meander|rows count|columns count|matrix (up to 16 by 16, comma separated columns, rows end with double comma) of meander section abbreviations (C, A, N, S, H, O, V, E, W, B, D) }}
Meander sections (IDs and abbreviations)
Non-self-crossing meander sections (IDs and abbreviations)
The 1-by-1 grid has the distinct and unique meander corresponding to the zero ID.
IDs | Image | |
---|---|---|
0 |
|
The -by- grids, of non-self-crossing meanders are built from the following meander sections with nonzero IDs.
Self-crossing meander sections (IDs and abbreviations)
The -by- grids, of self-crossing meanders furthermore require the following meander sections with nonzero IDs.
I am suggesting C and D to extend Benoît Jubin's abbreviations. — Daniel Forgues 04:56, 15 December 2011 (UTC)
Examples
Examples of non-self-crossing meanders
Code | Result | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Meander|4|8| |
|
Code | Result | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Meander|16|16| |
|
Examples of self-crossing meanders
|
|
|
Code | Result | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Meander|4|4| ╭ , ╮ , ╭ , ╮ ,, |
|
Code
<noinclude>{{documentation}}</noinclude><includeonly>{| cellspacing="1px" cellpadding="0px" style="background: red; color: red; border-collapse: collapse; border: 1px solid red;"<!-- Start row 1 -->{{#ifexpr: {{{1|}}} >= 1 | <br /> {{!-}} {{#ifexpr: {{{2|}}} >= 1 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 0}} }}}} {{#ifexpr: {{{2|}}} >= 2 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 1}} }}}} {{#ifexpr: {{{2|}}} >= 3 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 2}} }}}} {{#ifexpr: {{{2|}}} >= 4 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 3}} }}}} {{#ifexpr: {{{2|}}} >= 5 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 4}} }}}} {{#ifexpr: {{{2|}}} >= 6 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 5}} }}}} {{#ifexpr: {{{2|}}} >= 7 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 6}} }}}} {{#ifexpr: {{{2|}}} >= 8 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 7}} }}}} {{#ifexpr: {{{2|}}} >= 9 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 8}} }}}} {{#ifexpr: {{{2|}}} >= 10 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, | 9}} }}}} {{#ifexpr: {{{2|}}} >= 11 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, |10}} }}}} {{#ifexpr: {{{2|}}} >= 12 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, |11}} }}}} {{#ifexpr: {{{2|}}} >= 13 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, |12}} }}}} {{#ifexpr: {{{2|}}} >= 14 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, |13}} }}}} {{#ifexpr: {{{2|}}} >= 15 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, |14}} }}}} {{#ifexpr: {{{2|}}} >= 16 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, | 0}}|, |15}} }}}} }}<!-- Start row 2 --> (...) <!-- Start row 16 -->{{#ifexpr: {{{1|}}} >= 16 | <br /> {{!-}} {{#ifexpr: {{{2|}}} >= 1 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 0}} }}}} {{#ifexpr: {{{2|}}} >= 2 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 1}} }}}} {{#ifexpr: {{{2|}}} >= 3 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 2}} }}}} {{#ifexpr: {{{2|}}} >= 4 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 3}} }}}} {{#ifexpr: {{{2|}}} >= 5 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 4}} }}}} {{#ifexpr: {{{2|}}} >= 6 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 5}} }}}} {{#ifexpr: {{{2|}}} >= 7 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 6}} }}}} {{#ifexpr: {{{2|}}} >= 8 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 7}} }}}} {{#ifexpr: {{{2|}}} >= 9 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 8}} }}}} {{#ifexpr: {{{2|}}} >= 10 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, | 9}} }}}} {{#ifexpr: {{{2|}}} >= 11 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, |10}} }}}} {{#ifexpr: {{{2|}}} >= 12 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, |11}} }}}} {{#ifexpr: {{{2|}}} >= 13 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, |12}} }}}} {{#ifexpr: {{{2|}}} >= 14 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, |13}} }}}} {{#ifexpr: {{{2|}}} >= 15 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, |14}} }}}} {{#ifexpr: {{{2|}}} >= 16 |{{!}}{{Meander section| {{#explode:{{#explode:{{{3|}}}|,, |15}}|, |15}} }}}} }} |- |}</includeonly>
See also
- {{Meander section}} (image insertion template used by the {{Meander}} graphic template)
- Meanders filling out an n-by-k grid (reduced for symmetry)
- Meanders filling out an n-by-n grid (reduced for symmetry)
- Meanders filling out an n-by-k grid (not reduced for symmetry)
- Meanders filling out an n-by-n grid (not reduced for symmetry)
- Self-crossing meanders filling out an n-by-k grid (reduced for symmetry)
- Self-crossing meanders filling out an n-by-n grid (reduced for symmetry)