Lineups: a rink with a second line
NHL hockey rink Drawn as: an ice hockey rink, 200 by 85 feet with rounded corners, with its red and blue lines, face-off circles, creases and goal nets. Data: Lineup in Hockey, two lines: 9 players. Players: Hellebuyck (Goaltender), Josi (Left defenceman), Makar (Right defenceman), Marner (Left wing), McDavid (Centre), Rantanen (Right wing), Hyman (Left wing on the second line), Draisaitl (Centre on the second line), Kane (Right wing on the second line). Captain: Josi. The six on the ice and, in a row along the bench side, the next forward line and defence pair, each marked as the second unit. The codes of the second unit end in 2. Lineup in Hockey, two lines: 9 players Players: Hellebuyck (Goaltender), Josi (Left defenceman), Makar (Right defenceman), Marner (Left wing), McDavid (Centre), Rantanen (Right wing), Hyman (Left wing on the second line), Draisaitl (Centre on the second line), Kane (Right wing on the second line). Captain: Josi. The six on the ice and, in a row along the bench side, the next forward line and defence pair, each marked as the second unit. The codes of the second unit end in 2. Goaltender: Hellebuyck 37 Left defenceman: Josi 59 Right defenceman: Makar 8 Left wing: Marner 16 Centre: McDavid 97 Right wing: Rantanen 96 Left defenceman on the second pair Right defenceman on the second pair Left wing on the second line: Hyman 18 Centre on the second line: Draisaitl 29 Right wing on the second line: Kane 93 Captain 37 Hellebuyck 59 Josi C 8 Makar 16 Marner 97 McDavid 96 Rantanen LD2 RD2 18 Hyman 29 Draisaitl 93 Kane
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: "lineup",
side: "home",
players: [
{ pos: "G", name: "Hellebuyck", number: 37 }, { pos: "D", name: "Josi", number: 59, captain: true }, { pos: "D", name: "Makar", number: 8 },
{ pos: "LW", name: "Marner", number: 16 }, { pos: "C", name: "McDavid", number: 97 }, { pos: "RW", name: "Rantanen", number: 96 },
{ pos: "LW", name: "Hyman", number: 18, line: 2 }, { pos: "C", name: "Draisaitl", number: 29, line: 2 }, { pos: "RW", name: "Kane", number: 93, line: 2 },
],
},
],
});
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.