The pages are in English; this contents, the search and the buttons are in Japanese.
Gallery: lacrosse, rugby, Australian football, Gaelic games, cricket, field hockey and handball
Seven field sports from their own rulebooks: each league's surface, the scores they write their own way (goals and behinds, goals and points, runs for wickets), a named ground, a boundary of your own and a part of the surface. The pictures share one stylesheet, which is left out of each one's SVG here; drawKyogijo puts it in every drawing unless style: "none" says not to.
Each surface, each league#
sport is lacrosse, rugby, afl, gaelic, cricket, fieldhockey or handball; league picks the rulebook.
Lacrosse: World Lacrosse's men's field
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "lacrosse" });Lacrosse: World Lacrosse's women's field
The 15 metre and 11 metre marking areas, the goal circle and the restraining lines.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "lacrosse", league: "world-women" });Lacrosse: the NLL's box floor
Boards with rounded corners, the crease cut by a flat, the restraining lines and the face-off circle.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "lacrosse", league: "nll" });Rugby union: World Rugby's field
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "rugby" });Rugby league: the NRL's field
A line every 10 metres, the 20 and 40 metre lines red, and the scrum lines.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "rugby", league: "nrl" });Australian football: the AFL's ground
An oval cut at each end by the goal line and the behind lines, at the size of the MCG.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl" });Gaelic football: the GAA's field
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "gaelic" });Hurling: the same field with the 65 metre lines
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "gaelic", league: "gaa-hurling" });Cricket: the ICC's ground with its 30-yard circle
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "cricket" });Field hockey: the FIH's pitch
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "fieldhockey" });Handball: the IHF's court
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "handball" });The scores#
Australian football writes goals, behinds and the total; Gaelic games goals, points and the total; a cricket score is a board of runs, wickets and overs, innings by innings.
Australian football: 10.12 (72) to 9.14 (68)
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "afl",
away: { name: "Harbour City Gulls", abbr: "HCG", goals: 10, behinds: 12, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", goals: 9, behinds: 14, color: "#a8452c" },
status: "final",
competition: "Grand Final",
});Gaelic football: 2-14 (20) to 1-15 (18)
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "gaelic",
away: { name: "Harbour City Gulls", abbr: "HCG", goals: 2, points: 14, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", goals: 1, points: 15, color: "#a8452c" },
status: "final",
competition: "All-Ireland Final",
});Cricket: a limited-overs match
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "cricket",
away: {
name: "Harbour City Gulls",
abbr: "HCG",
score: 245,
wickets: 6,
overs: "50",
color: "#1d4f91",
innings: [245],
},
home: {
name: "Prairie Ridge Bison",
abbr: "PRB",
score: 187,
wickets: 10,
overs: "41.2",
color: "#a8452c",
innings: [187],
},
status: "final",
competition: "Final",
});Cricket: a Test match, innings by innings
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "cricket",
away: {
name: "Harbour City Gulls",
abbr: "HCG",
score: 490,
wickets: 4,
overs: "112",
color: "#1d4f91",
innings: ["312", "178/4"],
},
home: {
name: "Prairie Ridge Bison",
abbr: "PRB",
score: 564,
wickets: 10,
overs: "130.3",
color: "#a8452c",
innings: ["263", "301"],
},
status: "innings-4",
competition: "Test, day 5",
});Rugby, tall
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "rugby",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "final",
competition: "Final",
orientation: "portrait",
});Handball, as a strip
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({
sport: "handball",
away: { name: "Harbour City Gulls", abbr: "HCG", score: 27, color: "#1d4f91" },
home: { name: "Prairie Ridge Bison", abbr: "PRB", score: 24, color: "#a8452c" },
status: "final",
competition: "Final",
size: "badge",
});A size, a ground and a boundary#
field takes a length and a width within the range the rules allow, a named ground of the AFL, or a cricket boundary, round or oval.
Melbourne Cricket Ground: 160 by 141 metres
The length and width the AFL's venue page prints.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", field: { ground: "mcg" } });Optus Stadium: 165 by 130 metres
The length and width the AFL's venue page prints.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", field: { ground: "optus-stadium" } });The Gabba: 156 by 138 metres
The length and width the AFL's venue page prints.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", field: { ground: "gabba" } });Sydney Cricket Ground: 149 by 136 metres
The length and width the AFL's venue page prints.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", field: { ground: "scg" } });Marvel Stadium: 159.5 by 128.8 metres
The length and width the AFL's venue page prints.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", field: { ground: "marvel-stadium" } });GMHBA Stadium: 170 by 114 metres
The length and width the AFL's venue page prints.
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", field: { ground: "gmhba-stadium" } });Rugby union at its least: 94 by 68 metres, in-goal 6 metres
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "rugby", units: "m", field: { length: 94, width: 68, inGoal: 6 } });Cricket: an oval boundary, 90 yards straight and 65 square
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "cricket", units: "yd", field: { boundary: { straight: 90, square: 65 } } });Cricket: the ICC's women's ground, circle of 25.15 yards
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "cricket", league: "icc-women" });A part of the surface, a look and a feature#
range crops to a named part; look and featureColors colour the whole or a part.
Rugby: the 22
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "rugby", range: "twenty-two" });Australian football: inside the fifty metre arc
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "afl", range: "forward-fifty" });Cricket: the pitch, with its creases and wickets
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "cricket", range: "pitch" });Field hockey: the circle
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "fieldhockey", range: "circle" });Handball: the goal area
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "handball", range: "goal-area" });Lacrosse: the crease
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "lacrosse", league: "ncaa-men", range: "crease" });Rugby, night
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "rugby", look: "night" });Gaelic football, chalkboard
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "gaelic", look: "chalkboard", landmarks: true });Rugby league, red lines in gold
Open in a page loads the published package from jsDelivr, which serves only released versions.
Show the code
import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";
const svg = drawKyogijo({ sport: "rugby", league: "nrl", featureColors: { "red-lines": "#d4a017" } });