# Tile artwork attribution

The emblems in this directory are adapted from Wikimedia Commons mahjong tile
illustrations by **Cangjie6**. The linked source pages give the full credits,
including earlier contributors where applicable. These adapted assets are
licensed [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/).

| Game faces | Original SVG files |
| --- | --- |
| B1–B9 | [MJs1b8-](https://commons.wikimedia.org/wiki/File:MJs1b8-.svg), [MJs2b-](https://commons.wikimedia.org/wiki/File:MJs2b-.svg), [MJs3b-](https://commons.wikimedia.org/wiki/File:MJs3b-.svg), [MJs4b-](https://commons.wikimedia.org/wiki/File:MJs4b-.svg), [MJs5b-](https://commons.wikimedia.org/wiki/File:MJs5b-.svg), [MJs6b-](https://commons.wikimedia.org/wiki/File:MJs6b-.svg), [MJs7b-](https://commons.wikimedia.org/wiki/File:MJs7b-.svg), [MJs8b-](https://commons.wikimedia.org/wiki/File:MJs8b-.svg), [MJs9b-](https://commons.wikimedia.org/wiki/File:MJs9b-.svg) |
| D1–D9 | [MJt1b-](https://commons.wikimedia.org/wiki/File:MJt1b-.svg), [MJt2-](https://commons.wikimedia.org/wiki/File:MJt2-.svg), [MJt3-](https://commons.wikimedia.org/wiki/File:MJt3-.svg), [MJt4-](https://commons.wikimedia.org/wiki/File:MJt4-.svg), [MJt5-](https://commons.wikimedia.org/wiki/File:MJt5-.svg), [MJt6-](https://commons.wikimedia.org/wiki/File:MJt6-.svg), [MJt7-](https://commons.wikimedia.org/wiki/File:MJt7-.svg), [MJt8-](https://commons.wikimedia.org/wiki/File:MJt8-.svg), [MJt9-](https://commons.wikimedia.org/wiki/File:MJt9-.svg) |
| C1–C9 | [MJw1-](https://commons.wikimedia.org/wiki/File:MJw1-.svg), [MJw2-](https://commons.wikimedia.org/wiki/File:MJw2-.svg), [MJw3-](https://commons.wikimedia.org/wiki/File:MJw3-.svg), [MJw4-](https://commons.wikimedia.org/wiki/File:MJw4-.svg), [MJw5-](https://commons.wikimedia.org/wiki/File:MJw5-.svg), [MJw6-](https://commons.wikimedia.org/wiki/File:MJw6-.svg), [MJw7-](https://commons.wikimedia.org/wiki/File:MJw7-.svg), [MJw8-](https://commons.wikimedia.org/wiki/File:MJw8-.svg), [MJw9-](https://commons.wikimedia.org/wiki/File:MJw9-.svg) |
| E, S, W, N | [MJf1-](https://commons.wikimedia.org/wiki/File:MJf1-.svg), [MJf2-](https://commons.wikimedia.org/wiki/File:MJf2-.svg), [MJf3-](https://commons.wikimedia.org/wiki/File:MJf3-.svg), [MJf4-](https://commons.wikimedia.org/wiki/File:MJf4-.svg) |
| R, G, H | [MJd1-](https://commons.wikimedia.org/wiki/File:MJd1-.svg), [MJd2-](https://commons.wikimedia.org/wiki/File:MJd2-.svg), [MJd3-](https://commons.wikimedia.org/wiki/File:MJd3-.svg) |
| F1–F8 | [MJh1-](https://commons.wikimedia.org/wiki/File:MJh1-.svg), [MJh2-](https://commons.wikimedia.org/wiki/File:MJh2-.svg), [MJh3-](https://commons.wikimedia.org/wiki/File:MJh3-.svg), [MJh4-](https://commons.wikimedia.org/wiki/File:MJh4-.svg), [MJh5-](https://commons.wikimedia.org/wiki/File:MJh5-.svg), [MJh6-](https://commons.wikimedia.org/wiki/File:MJh6-.svg), [MJh7-](https://commons.wikimedia.org/wiki/File:MJh7-.svg), [MJh8-](https://commons.wikimedia.org/wiki/File:MJh8-.svg) |
| J | [MJj1v1-](https://commons.wikimedia.org/wiki/File:MJj1v1-.svg) |

For B1–B9, D1–D9, and J, the original SVG tile body and shading were removed;
the vector emblem was cropped to its artwork bounds. For C1–C9, E/S/W/N,
R/G/H, and F1–F8, the emblem was isolated from the 960-pixel PNG thumbnail of
the linked SVG, made transparent, and resized for the game. All emblems were
placed on a new flat tile body. Arabic corner indices, wind letters, dragon
letters, and English flower labels were added in `src/tile-art.js`.

The sharing image `src/og-image.png` also uses these adapted B3, D5 and Joker
faces, rendered by the same `tileSvg` function, enlarged, rotated and composited
on a felt background with text. The sharing image is licensed CC BY-SA 4.0.
Its editable sources are `scripts/make-og.py` and `scripts/render-og-tiles.mjs`.
