Kyogijo Stadiums競技場

Guides, the reference, a gallery of every picture it can draw, and how it compares: the pages are made from the package's own files when the site is built.

About the name

The pages are in English; this contents, the search and the buttons are in Japanese.

Gallery: flags on the halves

Each team's flag or crest laid large over its half of the surface, as a stadium does for a final's ceremony: as a carpet, or on a round stage, with an emblem in the centre. The teams are Canada and Japan with a maple leaf and a sun disc, and the cup is made up, all drawn in the code under each picture.

71 pictures, each drawn by the build from the code under it, which the Copy button copies. They are drawn as they come near the screen. Open in a page loads the published package from jsDelivr, which serves only released versions.

A carpet on every surface#

pageant: "carpet" lays each flag at its own ratio, with a dark border and a gentle fabric of light and shade. A diamond's home team is on the infield and the visitors are in the outfield; a curling sheet has a flag in each house. Where the plate would cost the carpets their size the score goes to the strip.

NFL field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nfl", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

CFL field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "cfl", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

IFAF field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "ifaf", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NHL rink, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NBA court, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nba", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Soccer pitch, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Baseball field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "mlb", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Curling sheet, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "curling", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Tennis court, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "tennis", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Volleyball court, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "volleyball", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Badminton court, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "badminton", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Pickleball court, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "pickleball", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Table tennis table, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "tabletennis", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Lacrosse field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "lacrosse", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Rugby field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "rugby", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Australian football ground, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "afl", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Gaelic games field, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "gaelic", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Cricket ground, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "cricket", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Field hockey pitch, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "fieldhockey", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Handball court, carpets

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "handball", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A stage on every surface#

pageant: "stage" puts each crest on a large round disc with a gold ring. A flag is cut to the circle; markFit: "contain" on a team shows a crest whole.

NFL field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nfl", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

CFL field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "cfl", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

IFAF field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "ifaf", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NHL rink, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NBA court, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nba", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Soccer pitch, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Baseball field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "mlb", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Curling sheet, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "curling", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Tennis court, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "tennis", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Volleyball court, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "volleyball", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Badminton court, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "badminton", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Pickleball court, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "pickleball", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Table tennis table, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "tabletennis", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Lacrosse field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "lacrosse", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Rugby field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "rugby", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Australian football ground, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "afl", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Gaelic games field, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "gaelic", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Cricket ground, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "cricket", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Field hockey pitch, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "fieldhockey", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Handball court, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "handball", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

An emblem in the centre#

emblem is a competition's picture or a trophy, in the centre circle, centre ice or centre court. The score then goes to the strip under the drawing.

Soccer pitch: carpets and the cup

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { emblem: cup, emblemName: "Northern Cup" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Soccer pitch: stages and the cup

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { style: "stage", emblem: cup, emblemName: "Northern Cup" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NHL rink: stages and the cup at centre ice

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: { style: "stage", emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NBA court: carpets and the cup at centre court

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nba", pageant: { emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NFL field: carpets and the cup at midfield

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nfl", pageant: { emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A trophy as it is, with no disc

`emblemShape: "plain"` draws a picture with a cut-out outline as it is, over a soft shadow.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const trophy = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 14H70V40Q70 62 50 66Q30 62 30 40Z" fill="#d8ae4a"/><path d="M30 20H16Q16 44 34 50M70 20H84Q84 44 66 50" fill="none" stroke="#d8ae4a" stroke-width="5"/><path d="M44 66H56V80H68V88H32V80H44Z" fill="#a67a1d"/></svg>';
const svg = drawKyogijo({ sport: "soccer", away: canada, home: japan, status: "final", pageant: { emblem: trophy, emblemShape: "plain" } });

Baseball field: the cup on the mound

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "mlb", pageant: { emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Tall, and small#

A tall drawing lays the halves one above the other, and each flag is turned back upright. Under 320 pixels wide, or with detail: "simple", the fabric, the hairlines and the name pills are left out.

Soccer pitch, tall, with the cup

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", orientation: "portrait", pageant: { emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NFL field, tall

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nfl", orientation: "portrait", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

NBA court, tall, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nba", orientation: "portrait", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A small drawing

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", width: 280, pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Borders, lines, fabric and names#

Each choice on its own: the border band (dark, team or a colour) and its width, the lines of the surface over, under or through the pictures, the fabric, a name on each flag, the score in the middle, a smaller picture, and a team with no flag.

Carpets at the flags' own ratio

`fit: "ratio"` keeps each flag's own ratio and leaves the rest of the half bare.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { fit: "ratio", score: "strip" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A border in each team's colour

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { border: "team", borderWidth: 0.1 }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A gold border

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { border: "#c9a24a" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Lines over the carpets (the default)

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { score: "strip" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Lines under the carpets

The carpets cover the lines under them.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { lines: "under", score: "strip" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Lines through the carpets

The carpets are a little see-through, so the lines show faintly.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { lines: "through", score: "strip" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

No fabric

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: { fabric: false }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A name on each flag

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: { names: true }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

The score in the middle

The plate is a little smaller and the carpets keep clear of it.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: { score: "centre" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Smaller pictures

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { scale: 0.7, score: "strip" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A stage ringed in the team's colour

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", pageant: { style: "stage", ring: "team" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

No marks: the team's colours with its name

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

const svg = drawKyogijo({
  sport: "nhl",
  away: { name: "USA", abbr: "USA", score: 3, color: "#1c3f7a" },
  home: { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e" },
  status: "final-ot",
  pageant: "carpet",
});

No marks, on stages

A team with no picture is its initials on its colour.

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

const svg = drawKyogijo({
  sport: "nhl",
  away: { name: "USA", abbr: "USA", score: 3, color: "#1c3f7a" },
  home: { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e" },
  status: "final-ot",
  pageant: "stage",
});

A mark of 2 to 1

A carpet is at its mark's own ratio, read from an SVG's viewBox or given as `logoRatio`.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const long = { ...canada, logoRatio: 2, logo: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 20"><rect width="40" height="20" fill="#d52b1e"/><polygon transform="translate(20 10) scale(.2) translate(-50 -42)" 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="#fff"/></svg>' };
const svg = drawKyogijo({ sport: "soccer", away: long, home: japan, status: "final", pageant: { score: "strip" } });

Dark, a crop and an entrance#

In the dark theme the border, the hairline and the shadow change. A drawing cropped to a range shows the carpet in the part that is shown. animate is CSS only and for readers who have not asked for less motion; a picture here is the finished drawing.

Dark theme

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", theme: "dark", pageant: { emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Dark theme, stages

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nhl", theme: "dark", pageant: "stage", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

Cropped to the left half

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", range: { name: "half", end: "left" }, pageant: { score: "strip" }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

A compact card

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "nba", size: "compact", pageant: "carpet", away: canada, home: japan, status: "final", competition: "Northern Cup final" });

With round marks in the strip

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", markShape: "round", pageant: { style: "stage", emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });

With an entrance

The carpets roll out from their ends and the cup grows; the picture shows them finished.

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 cup = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="#14233f"/><path d="M33 26H67V42Q67 58 50 62Q33 58 33 42Z" fill="#f2c230"/><path d="M33 30H24Q24 46 36 50M67 30H76Q76 46 64 50" fill="none" stroke="#f2c230" stroke-width="4"/><path d="M46 62H54V72H62V78H38V72H46Z" fill="#f2c230"/></svg>';
const canada = { name: "Canada", abbr: "CAN", score: 2, color: "#d52b1e", logo: leaf };
const japan = { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", logo: sun };
const svg = drawKyogijo({ sport: "soccer", pageant: { animate: "unfurl", emblem: cup }, away: canada, home: japan, status: "final", competition: "Northern Cup final" });