HockeyTech canvas (600 by 300). The right end-zone face-off dot is (507, 72.35) in pixels; the arrows show which way x (blue) and y (orange) grow.
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: "nhl",
layers: [
{
kind: "arrows",
name: "x grows",
from: "hockeytech",
data: [{ x: 507, y: 72.35, x2: 579, y2: 72.35 }],
style: { width: 1.2, color: "var(--ky-layer-home)" },
},
{
kind: "arrows",
name: "y grows",
from: "hockeytech",
data: [{ x: 507, y: 72.35, x2: 507, y2: 108.35 }],
style: { width: 1.2, color: "var(--ky-layer-away)" },
},
{
kind: "points",
name: "the right end-zone face-off dot",
from: "hockeytech",
data: [{ x: 507, y: 72.35, title: "the right end-zone face-off dot: 507, 72.35" }],
style: { size: 4, shape: "star" },
},
{
kind: "text",
name: "axes",
from: "hockeytech",
data: [{ x: 600.6, y: 72.35, text: "x" }, { x: 507, y: 122.75, text: "y" }],
style: { size: 4 },
},
],
});
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.6.1.