sepaktakraw

Sepak takraw court, in metres from the centre of the net. The centre of the right service circle is (4.25, 0) in metres; the arrows show which way x (blue) and y (orange) grow.

Sepak takraw courtDrawn as: a sepak takraw court, 13.4 by 6.1 metres, with its centre line, quarter circles, service circles and the net. Data: 1 x grows. 1 y grows. 1 the centre of the right service circle. 2 axes.1 x grows1 y grows1 the centre of the right service circlethe centre of the right service circle: 4.25, 02 axesxy

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: "sepaktakraw",
  layers: [
    {
      kind: "arrows",
      name: "x grows",
      from: "sepaktakraw",
      data: [{ x: 4.25, y: 0, x2: 5.86, y2: 0 }],
      style: { width: 1.2, color: "var(--ky-layer-home)" },
    },
    {
      kind: "arrows",
      name: "y grows",
      from: "sepaktakraw",
      data: [{ x: 4.25, y: 0, x2: 4.25, y2: 0.73 }],
      style: { width: 1.2, color: "var(--ky-layer-away)" },
    },
    {
      kind: "points",
      name: "the centre of the right service circle",
      from: "sepaktakraw",
      data: [{ x: 4.25, y: 0, title: "the centre of the right service circle: 4.25, 0" }],
      style: { size: 4, shape: "star" },
    },
    {
      kind: "text",
      name: "axes",
      from: "sepaktakraw",
      data: [{ x: 6.34, y: 0, text: "x" }, { x: 4.25, y: 1.02, 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.