The stumps from the bowler's end

Three stumps across 9 inches and 28 inches high, with the bails; the line zones are the stumps' own width either side. The length of a delivery (where it pitched) names its length zone.

Stumps: where the deliveries reached the wicketThe stumps seen from the bowler's end: three stumps across 9 inches (22.86 cm) and 28 inches (71.12 cm) high, with the bails. Data: 3 deliveries. By outcome: Wicket 1, Runs 1, Dot ball 1.Outside, left of the stumpsOn the stumpsOver the stumpsOutside, right of the stumpsWide right3 deliveriesBy outcome: Wicket 1, Runs 1, Dot ball 1.Good lengthShort of a lengthFull length

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

import { drawStumps } from "@johnmorrisdotca/kyogijo-stadiums/target";

const svg = drawStumps([
  { x: 0.02, z: 0.4, outcome: "wicket", length: 5.1 },
  { x: 0.3, z: 0.5, outcome: "dot", length: 7.4 },
  { x: -0.5, z: 0.2, outcome: "runs", length: 2 },
]).svg;

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.