A relay final, with a score

Japan 27, USA 24, FinalRelay final, Final. Japan 27, USA 24. Japan won. Drawn as: an athletics track of 400 metres with 8 lanes, its bends of 36.50 metres radius at the kerb and its straights of 84.39 metres, with the finish line and the lane numbers. A soccer pitch lies inside the track. Field events marked: High jump, Pole vault, Long jump, Triple jump, Shot put, Discus throw, Hammer throw, Javelin throw.JAPANUSARelay finalJPN27USA24–Final

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: "athletics",
  away: { name: "Japan", abbr: "JPN", score: 27, color: "#bc002d" },
  home: { name: "USA", abbr: "USA", score: 24, color: "#1c3f7a" },
  status: "final",
  competition: "Relay final",
});

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.