Alkhan khee · hammer border
Interlocking hammers on a module grid: every stroke and every gap is one module. The band is 7 modules deep and repeats every 8. Mongolian ornaments drawn by their rules, not by eye. Set the parameters, then download SVG or PNG.
CSS for a bordered box
Save the SVG next to your stylesheet as alkhan.svg, then give any box these two lines. The border tiles to fit.
Use it as an image URL
Every setting is in the address. The same settings under /api return the image itself, so the link works in an <img> tag or a stylesheet.
How it is drawn
Mongolian craftsmen lay ornament out with a module stick (хээ бүтээх мод): every stroke and every gap between strokes is one module wide (J. Tömörkhuyag, 2010).
Hammers hung alternately from the outer and the inner rule then fill a band 7 modules deep that repeats every 8 modules. A painted chest measured for avdar.me shows exactly this 7 : 8 ratio.
No source documents the corner. Here each side is mitred into the next at the point where the meeting hammer heads bend into a hook, or close into a box with a dot. Both keep every gap one module wide.
The rules, their sources and the checks behind them are written up in the repository. Source code and documentation (MIT) · What the palettes mean, and their sources