Round marks in a badge

Japan 2, Canada 2, Final · 3-4 pensFinal · 3-4 pens. Japan 2, Canada 2. Canada won 4-3 on penalties. Drawn as: a soccer pitch, 105 by 68 metres, with the halfway line, the centre circle, both penalty areas, goal areas, penalty marks and arcs, the corner arcs and the goals.JPN2CAN2Final · 3-4 pens

The picture above was drawn when the docs were built. The script below draws it again with the published package.

import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";

// Our own marks, drawn here: a maple leaf for Canada and a sun disc for Japan (never a federation's crest or logo, and no flag: a snippet cannot await Hata's flag()).
const leaf = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#fff"/><polygon points="50,14 55,26 60,23 59,36 72,28 69,39 81,35 77,44 83,53 72,52 74,58 56,55 55,70 44,55 26,58 28,52 17,53 23,44 19,35 31,39 28,28 41,36 40,23 45,26 50,14" fill="#d52b1e"/></svg>';
const sun = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#fff"/><circle cx="50" cy="50" r="24" fill="#bc002d"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, penalties: 4, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 2, penalties: 3, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", markShape: "round", away: canada, home: japan, status: "final-pens", size: "badge" });

This page imports the package from jsDelivr (major version 0), which serves only versions that have been published to npm. A feature added after the last release is not in it: the page then keeps the picture above and says why. The docs were built from version 0.64.0.