Skip to content

Commit e2a281d

Browse files
authored
Merge pull request #31 from nguyenank/dec-2024
Dec 2024
2 parents c4f3b53 + 925c2ac commit e2a281d

21 files changed

+1628
-134
lines changed

CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
88
and this project adheres to the spirit of [Semantic Versioning](https://semver.org/spec/v2.0.0.html) as best it can without a proper API.
99

10+
## [2.3.0] - 2024-12-26
11+
12+
### Added
13+
14+
#### New Playing Areas
15+
16+
- Football Net (IFAB)
17+
- Soccer Net (NCAA)
18+
- Indoor Lacrosse (NLL customizable in feet)
19+
20+
### Fixed
21+
22+
- Bandage fix for ghost dots not appearing promptly by disabling the size appearance transition for ghost dots.
23+
- Fix sizing for default Soccer (NCAA) playing area.
24+
- Fix dot transformation when changing dimensions on customizable dimension playing areas.
25+
26+
### Changed
27+
28+
- Adjusted Ice Hockey (IIHF) playing area to allow customization of width and corner radius.
29+
1030
## [2.2.0] - 2024-06-26
1131

1232
### Added
@@ -22,7 +42,7 @@ and this project adheres to the spirit of [Semantic Versioning](https://semver.o
2242

2343
### Changed
2444

25-
- Adjusted Football (NCAA) playing area to also allow customization of field height and width.
45+
- Adjusted Soccer (NCAA) playing area to also allow customization of field height and width.
2646

2747
## [2.1.0] - 2023-09-30
2848

@@ -259,7 +279,8 @@ and this project adheres to the spirit of [Semantic Versioning](https://semver.o
259279
- Ability to click on rink to create dot and add row to table with the current details.
260280
- Ability to download and upload table.
261281

262-
[2.1.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.2.0
282+
[2.3.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.3.0
283+
[2.2.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.2.0
263284
[2.1.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.1.0
264285
[2.0.1]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.0.1
265286
[2.0.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.0.0

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
A [web application](https://shot-plotter.netlify.app/) for plotting events on a sport's playing area with a single click, while keeping track of any other details. The application supports download and upload of .csv files to retrieve that plotted data.
66

7-
Currently 28 different playing areas across 19 different sports are supported:
7+
Currently 31 different playing areas across 20 different sports are supported:
88

9-
- ice hockey (NHL, IIHF) and ice hockey net (NHL)
9+
- ice hockey (NHL, IIHF customizable) and ice hockey net (NHL)
1010
- floorball (IFF)
1111
- handball (IHF) and handball net (IHF)
1212
- volleyball (NCAA)
@@ -19,9 +19,10 @@ Currently 28 different playing areas across 19 different sports are supported:
1919
- men's lacrosse (NCAA)
2020
- women's lacrosse (NCAA)
2121
- field hockey (FIH)
22+
- indoor lacrosse (NLL customizable)
2223
- American football (NFL, NCAA)
2324
- Canadian football (CFL, CFL pre-2022 & Amateur)
24-
- soccer (NCAA customizable, IFAB customizable in meters, IFAB customizable in yards)
25+
- soccer (NCAA customizable, IFAB customizable in meters, IFAB customizable in yards) and soccer net (IFAB, NCAA)
2526
- Australian rules football (AFL)
2627
- rugby union (World Rugby)
2728
- hurling and Gaelic football (GAA)

html/ice-hockey-iihf.html

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h1>Shot-Plotter</h1>
115115
<div id="playing-area">
116116
<!-- inject:playingarea -->
117117
<svg id="ice-hockey-iihf-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" -1 -1 62 32">
118-
<g id="transformations">
118+
<g id="transformations" clip-path="url(#iceClipBorder)">
119119
<clipPath id="clipBorder">
120120
<path
121121
d="
@@ -130,6 +130,20 @@ <h1>Shot-Plotter</h1>
130130
L 0 8.5"
131131
/>
132132
</clipPath>
133+
<clipPath id="iceClipBorder">
134+
<path
135+
d="
136+
M 0 8.5
137+
A 8.5 8.5 0 0 1 8.5 0
138+
L 51.5 0
139+
A 8.5 8.5 0 0 1 60 8.5
140+
L 60 21.5
141+
A 8.5 8.5 0 0 1 51.5 30
142+
L 8.5 30
143+
A 8.5 8.5 0 0 1 0 21.5
144+
L 0 8.5"
145+
/>
146+
</clipPath>
133147
<path
134148
id="background"
135149
d="M 0 8.5
@@ -233,10 +247,10 @@ <h1>Shot-Plotter</h1>
233247
</g>
234248
</g>
235249
<g id="goal-lines">
236-
<path id="left-goal-line" d="M 4 1.25
237-
L 4 28.75" stroke="#BE352A" stroke-width="0.05"/>
238-
<path id="right-goal-line" d="M 56 1.25
239-
L 56 28.75" stroke="#BE352A" stroke-width="0.05"/>
250+
<path id="left-goal-line" d="M 4 0
251+
L 4 30" stroke="#BE352A" stroke-width="0.05"/>
252+
<path id="right-goal-line" d="M 56 0
253+
L 56 30" stroke="#BE352A" stroke-width="0.05"/>
240254
</g>
241255
<g id="blue-lines">
242256
<path id="left-blue-line" d="M 22.5 0
@@ -246,28 +260,28 @@ <h1>Shot-Plotter</h1>
246260
</g>
247261

248262
<g id="faceoff-dots">
249-
<g transform="translate(24, 8)">
263+
<g id="top-left-dot" transform="translate(24, 8)">
250264
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
251265
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
252266
</g>
253267

254-
<g transform="translate(36, 8)">
268+
<g id="top-right-dot" transform="translate(36, 8)">
255269
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
256270
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
257271
</g>
258-
<g transform="translate(24, 22)">
272+
<g id="bottom-left-dot" transform="translate(24, 22)">
259273
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
260274
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
261275
</g>
262276

263-
<g transform="translate(36, 22)">
277+
<g id="bottom-right-dot" transform="translate(36, 22)">
264278
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
265279
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
266280
</g>
267281
</g>
268282

269283
<g id="faceoff-circles">
270-
<g transform="translate(10, 8)">
284+
<g id="top-left-circle" transform="translate(10, 8)">
271285
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
272286
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
273287
<circle cx="0" cy="0" r="4.5" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
@@ -303,7 +317,7 @@ <h1>Shot-Plotter</h1>
303317
L -1.8 -0.225
304318
"/>
305319
</g>
306-
<g transform="translate(50, 8)">
320+
<g id="top-right-circle" transform="translate(50, 8)">
307321
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
308322
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
309323
<circle cx="0" cy="0" r="4.5" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
@@ -339,7 +353,7 @@ <h1>Shot-Plotter</h1>
339353
L -1.8 -0.225
340354
"/>
341355
</g>
342-
<g transform="translate(10, 22)">
356+
<g id="bottom-left-circle" transform="translate(10, 22)">
343357
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
344358
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
345359
<circle cx="0" cy="0" r="4.5" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
@@ -375,7 +389,7 @@ <h1>Shot-Plotter</h1>
375389
L -1.8 -0.225
376390
"/>
377391
</g>
378-
<g transform="translate(50, 22)">
392+
<g id="bottom-right-circle" transform="translate(50, 22)">
379393
<circle cx="0" cy="0" r="0.3" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>
380394
<rect x="-0.175" y="-0.275" width="0.35" height="0.55" fill="#BE352A"/>
381395
<circle cx="0" cy="0" r="4.5" stroke="#BE352A" stroke-width="0.05" fill="transparent"/>

0 commit comments

Comments
 (0)