diving

Diving well, in metres from the centre of the water. The plummet of the 10 m platform is (-9, 6.75) in metres; the arrows show which way x (blue) and y (orange) grow.

Diving wellDrawn as: a diving well, 21 by 25.9 metres, with springboards at 1 and 3 metres and platforms at 5, 7.5 and 10 metres. Data: 1 x grows. 1 y grows. 1 the plummet of the 10 m platform. 2 axes.5 m7.5 m10 m1 m1 m3 m3 m1 x grows1 y grows1 the plummet of the 10 m platformthe plummet of the 10 m platform: -9, 6.752 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: "diving",
  layers: [
    {
      kind: "arrows",
      name: "x grows",
      from: "diving",
      surfaceSize: { length: 21, width: 25.9, unit: "m" },
      data: [{ x: -9, y: 6.75, x2: -6.48, y2: 6.75 }],
      style: { width: 1.2, color: "var(--ky-layer-home)" },
    },
    {
      kind: "arrows",
      name: "y grows",
      from: "diving",
      surfaceSize: { length: 21, width: 25.9, unit: "m" },
      data: [{ x: -9, y: 6.75, x2: -9, y2: 9.99 }],
      style: { width: 1.2, color: "var(--ky-layer-away)" },
    },
    {
      kind: "points",
      name: "the plummet of the 10 m platform",
      from: "diving",
      surfaceSize: { length: 21, width: 25.9, unit: "m" },
      data: [{ x: -9, y: 6.75, title: "the plummet of the 10 m platform: -9, 6.75" }],
      style: { size: 4, shape: "star" },
    },
    {
      kind: "text",
      name: "axes",
      from: "diving",
      surfaceSize: { length: 21, width: 25.9, unit: "m" },
      data: [{ x: -5.72, y: 6.75, text: "x" }, { x: -9, y: 11.29, 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.