Soccer pitch, tall

England 2, Brazil 2, Final · 2-4 pensCup Final, Final · 2-4 pens. England 2, Brazil 2. Brazil won 4-2 on penalties. Drawn as: a soccer pitch, 105 by 68 metres, with the halfway line, the centre circle, both penalty areas, goal areas, penalty marks and arcs, the corner arcs and the goals.ENGLANDBRAZILCup FinalENG2BRA2–Final · 2-4 pens

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

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

const svg = drawKyogijo({
  sport: "soccer",
  away: { name: "Brazil", abbr: "BRA", score: 2, color: "#009739", penalties: 4 },
  home: { name: "England", abbr: "ENG", score: 2, color: "#c8102e", penalties: 2 },
  status: "final-pens",
  competition: "Cup Final",
  orientation: "portrait",
});

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