Names on the seats

`seatNames: true`: the name in the chart's own face, scaled evenly; Judge 3's name is too long for its seat at a readable size, so that seat shows its number.

Judging assignments: Kata, 5 judges, 1 matMat 1: Judge 1 Aiko Mori, ID J-1042; Judge 2 Daniel Okafor, ID J-0377; Judge 3, central Sofia Lindqvist-Hernandez, ID J-2210; Judge 4 Kenji Watanabe, ID J-0918; Judge 5 Marta Kowalczyk, ID J-1555. The names are in the seats where they fit, and in the chart of mat, seat, name and ID.Mat 1Kata, 5 judgesAiko MoriID J-10421DanielOkaforID J-037723KenjiWatanabeID J-09184MartaKowalczykID J-155551Judge 1Aiko MoriID J-10422Judge 2Daniel OkaforID J-03773Judge 3, centralSofiaLindqvist-HernandezID J-22104Judge 4Kenji WatanabeID J-09185Judge 5Marta KowalczykID J-1555

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

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

const svg = drawJudging({
  style: "kata",
  mats: [
    {
      label: "Mat 1",
      officials: [
        { seat: 1, name: "Aiko Mori", id: "J-1042" },
        { seat: 2, name: "Daniel Okafor", id: "J-0377" },
        { seat: 3, name: "Sofia Lindqvist-Hernandez", id: "J-2210" },
        { seat: 4, name: "Kenji Watanabe", id: "J-0918" },
        { seat: 5, name: "Marta Kowalczyk", id: "J-1555" },
      ],
    },
  ],
  seatNames: true,
  focus: "bench",
});

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.