Skip to content

Commit 047dda9

Browse files
authored
Merge pull request #32 from nguyenank/jan-2025
Jan 2025
2 parents e2a281d + 12a0f23 commit 047dda9

16 files changed

+890
-65
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 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.4.0] - 2025-01-31
11+
12+
### Added
13+
14+
#### New Playing Areas
15+
16+
- Men's Lacrosse Net (NCAA)
17+
- Women's Lacrosse Net (NCAA)
18+
19+
### Fixed
20+
21+
- Fix csv upload issues for custom configs with names different from default for default details.
22+
- Fix issue with dots not appearing, especially upon transition between heat map and regular view by adjusting display attribute to be style value.
23+
24+
### Changed
25+
26+
- Remove defunct heat map team select code.
27+
- Reset filters on refresh (hopefully temporary fix).
28+
- Undo bandage fix for ghost dots not appearing promptly by disabling the size appearance transition for ghost dots.
29+
1030
## [2.3.0] - 2024-12-26
1131

1232
### Added
@@ -279,6 +299,7 @@ and this project adheres to the spirit of [Semantic Versioning](https://semver.o
279299
- Ability to click on rink to create dot and add row to table with the current details.
280300
- Ability to download and upload table.
281301

302+
[2.4.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.4.0
282303
[2.3.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.3.0
283304
[2.2.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.2.0
284305
[2.1.0]: https://github.com/nguyenank/shot-plotter/releases/tag/v2.1.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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 31 different playing areas across 20 different sports are supported:
7+
Currently 33 different playing areas across 20 different sports are supported:
88

99
- ice hockey (NHL, IIHF customizable) and ice hockey net (NHL)
1010
- floorball (IFF)
@@ -16,8 +16,8 @@ Currently 31 different playing areas across 20 different sports are supported:
1616
- tennis (ITF)
1717
- netball (SSN)
1818
- fistball (IFA)
19-
- men's lacrosse (NCAA)
20-
- women's lacrosse (NCAA)
19+
- men's lacrosse (NCAA) and men's lacrosse net (NCAA)
20+
- women's lacrosse (NCAA) and women's lacrosse net (NCAA)
2121
- field hockey (FIH)
2222
- indoor lacrosse (NLL customizable)
2323
- American football (NFL, NCAA)

html/index.html

Lines changed: 181 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<body>
5151
<!-- inject:banner -->
5252
<div class="alert alert-info" role="alert">
53-
<b>12/26/24:</b> Football/soccer net and indoor lacrosse have been added, as
54-
well as customizable dimensions for the IIHF hockey rink!
53+
<b>01/31/25:</b> Men's lacrosse net and women's lacrosse net have been
54+
added!
5555
</div>
5656

5757
<!-- endinject -->
@@ -2435,6 +2435,100 @@ <h6 class="card-title">
24352435
</div>
24362436
</a>
24372437

2438+
<a href="./mens-lacrosse-net" class="card" id="mens-lacrosse-net">
2439+
<div class="card-header">
2440+
<!-- inject:cardplayingarea -->
2441+
<svg id="mens-lacrosse-net-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" -1 -1 77.8 75.9">
2442+
<g id="transformations">
2443+
<clipPath id="clipBorder">
2444+
<rect x="-1" width="77.8" height="74.9" />
2445+
</clipPath>
2446+
<rect x="1.9" y="1.9" width="72" height="72" fill="#f9f9f9" />
2447+
2448+
<!-- <line id="horizon-line" x1="0" y1="36.95" x2="76" y2="36.95" stroke="blue" stroke-width="0.1" />
2449+
<circle id="vanishing-point" cx="37.9" cy="36.95" r="1" fill="blue" />
2450+
<line id="center-of-vision" x1="37.9" x2="37.9" y1="0" y2="74" stroke="blue" stroke-width="0.1" />
2451+
2452+
<line id="picture-plane" x1="0" x2="76" y1="80" y2="80" stroke="red" stroke-width="0.1" />
2453+
2454+
<path id="top-down" d="M 31.9 130 L 31.9 127 L 37.9 116 L 43.9 127 L 43.9 130" stroke="red" stroke-width="0.4" fill="transparent" />
2455+
<path id="extra" d="M 31.9 130 L 31.9 116 43.9 116 L 43.9 130" stroke="red" stroke-width="0.2" fill="transparent" />
2456+
<line x1="37.9" y1="139.69305" x2="0.95" y2="80" stroke-width="0.1" stroke="green" stroke-dasharray="0.5"/>
2457+
<circle cx="0.95" cy="80" r="1" fill="green" />
2458+
<circle cx="0.95" cy="36.95" r="1" fill="green" />
2459+
2460+
<line x1="37.9" y1="139.69305" x2="9.68312" y2="80" stroke-width="0.1" stroke="purple" stroke-dasharray="0.5"/>
2461+
<circle cx="9.68312" cy="80" r="1" fill="purple" />
2462+
<circle cx="9.68312" cy="36.95" r="1" fill="purple" />
2463+
<line x1="37.9" y1="139.69305" x2="66.11688" y2="80" stroke-width="0.1" stroke="purple" stroke-dasharray="0.5"/>
2464+
<circle cx="66.11688" cy="80" r="1" fill="purple" />
2465+
<circle cx="66.11688" cy="36.95" r="1" fill="purple" />
2466+
<rect x="9.68312" y="8.73312" height="56.43376" width="56.43376" stroke-width="0.1" stroke="purple" stroke-dasharray="0.5" fill="transparent"/>
2467+
2468+
<line x1="37.9" y1="139.69305" x2="74.85" y2="80" stroke-width="0.1" stroke="green" stroke-dasharray="0.5"/>
2469+
<circle cx="74.85" cy="80" r="1" fill="green" />
2470+
<circle cx="74.85" cy="36.95" r="1" fill="green" />
2471+
2472+
<line x1="37.9" y1="139.69305" x2="22.7834" y2="80" stroke-width="0.1" stroke="magenta" stroke-dasharray="0.5"/>
2473+
<circle cx="22.7834" cy="80" r="1" fill="magenta" />
2474+
<circle cx="22.7834" cy="36.95" r="1" fill="magenta" />
2475+
<line x1="37.9" y1="139.69305" x2="53.0166" y2="80" stroke-width="0.1" stroke="magenta" stroke-dasharray="0.5"/>
2476+
<circle cx="53.0166" cy="80" r="1" fill="magenta" />
2477+
<circle cx="53.0166" cy="36.95" r="1" fill="magenta" />
2478+
<rect x="22.7834" y="21.8334" height="30.2332" width="30.2332" stroke-width="0.1" stroke="magenta" stroke-dasharray="0.5" fill="transparent"/>
2479+
2480+
2481+
<circle id="vantage" cx="37.9" cy="139.69305" r="1" fill="blue" /> -->
2482+
2483+
<path id="net-lines" d="M 0.95 0.95 L 37.9 52.0666 L 74.85 0.95" stroke="#dfdfdf" stroke-width="0.4" fill="transparent"/>
2484+
2485+
<path id="back-poles" d="M 0.95 73.9 L 9.68312 65.16688 L 37.9 52.0666 L 66.11688 65.16688 L 74.85 73.9" stroke="#dbab53" stroke-width="1.9" fill="#d7ddd7"/>
2486+
2487+
<path id="frame" d="M 0.95 73.9 L 0.95 0.95 L 74.85 0.95 L 74.85 73.9" stroke="orange" stroke-width="1.9" fill="transparent"/>
2488+
2489+
<!-- <circle id="ball" cx="37.9" cy="35" r="1.25" fill="blue" /> -->
2490+
2491+
<rect id="ground" x="-2" y="73.9" width="79" height="0.4" fill="#036602" />
2492+
<rect id="outside-perimeter" width="75.8" height="73.9" fill="transparent" />
2493+
</g>
2494+
</svg>
2495+
2496+
2497+
<!-- endinject -->
2498+
</div>
2499+
<div class="card-body">
2500+
<h6 class="card-title">
2501+
Men's Lacrosse Net
2502+
</h6>
2503+
<div class="card-text">
2504+
<div class="dimensions">
2505+
<span class="bold">Dimensions: </span
2506+
><span>
2507+
72 x 72 (75.8 x 73.9 including posts)
2508+
</span>
2509+
</div>
2510+
<div>
2511+
<span class="bold">Units: </span
2512+
><span>
2513+
inches
2514+
</span>
2515+
</div>
2516+
<div>
2517+
<span class="bold">Specifications: </span
2518+
><span>
2519+
National Collegiate Athletic Association (2025 & 2026)
2520+
</span>
2521+
</div>
2522+
</div>
2523+
</div>
2524+
<div class="card-footer text-center white-bg">
2525+
<button type="button" class="grey-btn card-btn">
2526+
Go To
2527+
Men's Lacrosse Net
2528+
</button>
2529+
</div>
2530+
</a>
2531+
24382532
<a href="./womens-lacrosse" class="card" id="womens-lacrosse">
24392533
<div class="card-header">
24402534
<!-- inject:cardplayingarea -->
@@ -2683,6 +2777,91 @@ <h6 class="card-title">
26832777
</div>
26842778
</a>
26852779

2780+
<a href="./womens-lacrosse-net" class="card" id="womens-lacrosse-net">
2781+
<div class="card-header">
2782+
<!-- inject:cardplayingarea -->
2783+
<svg id="womens-lacrosse-net-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" -1 -1 74 74">
2784+
<g id="transformations">
2785+
<clipPath id="clipBorder">
2786+
<rect x="-0.5" width="73" height="72.2" />
2787+
</clipPath>
2788+
<rect width="72" height="72" fill="#f9f9f9" />
2789+
<!--
2790+
<line id="horizon-line" x1="0" y1="36" x2="76" y2="36" stroke="blue" stroke-width="0.1" />
2791+
<circle id="vanishing-point" cx="36" cy="36" r="1" fill="blue" />
2792+
<line id="center-of-vision" x1="36" x2="36" y1="0" y2="200" stroke="blue" stroke-width="0.1" />
2793+
<line id="picture-plane" x1="0" x2="72" y1="80" y2="80" stroke="red" stroke-width="0.1" />
2794+
2795+
<path id="top-down" d="M 30 130 L 36 116 L 42 130" stroke="red" stroke-width="0.4" fill="transparent" />
2796+
<path id="extra" d="M 30 130 L 30 116 L 42 116 L 42 130" stroke="red" stroke-width="0.2" fill="transparent" />
2797+
2798+
<line x1="36" y1="140.32702" x2="0.95" y2="80" stroke-width="0.1" stroke="green" stroke-dasharray="0.5"/>
2799+
<circle cx="0.95" cy="80" r="1" fill="green" />
2800+
<circle cx="0.95" cy="36" r="1" fill="green" />
2801+
<line x1="36" y1="140.32702" x2="71.05" y2="80" stroke-width="0.1" stroke="green" stroke-dasharray="0.5"/>
2802+
<circle cx="71.05" cy="80" r="1" fill="green" />
2803+
<circle cx="71.05" cy="36" r="1" fill="green" />
2804+
2805+
<line x1="36" y1="140.32702" x2="21.12098" y2="80" stroke-width="0.1" stroke="magenta" stroke-dasharray="0.5"/>
2806+
<circle cx="21.12098" cy="80" r="1" fill="magenta" />
2807+
<circle cx="21.12098" cy="36" r="1" fill="magenta" />
2808+
<line x1="36" y1="140.32702" x2="50.87902" y2="80" stroke-width="0.1" stroke="magenta" stroke-dasharray="0.5"/>
2809+
<circle cx="50.87902" cy="80" r="1" fill="magenta" />
2810+
<circle cx="50.87902" cy="36" r="1" fill="magenta" />
2811+
<rect x="21.12098" y="21.12098" height="29.75804" width="29.75804" stroke-width="0.1" stroke="magenta" stroke-dasharray="0.5" fill="transparent"/>
2812+
2813+
2814+
<circle id="vantage" cx="36" cy="140.32702" r="1" fill="blue" /> -->
2815+
2816+
<path id="net-lines" d="M 0.95 0.95 L 36 50.87902 L 71.05 0.95" stroke="#dfdfdf" stroke-width="0.4" fill="transparent"/>
2817+
2818+
<path id="back-poles" d="M 0.95 72 L 36 50.87902 L 71.05 72" stroke="#dbab53" stroke-width="1.9" fill="#d7ddd7"/>
2819+
2820+
<path id="frame" d="M 0.95 72 L 0.95 0.95 L 71.05 0.95 L 71.05 72" stroke="orange" stroke-width="1.9" fill="transparent"/>
2821+
2822+
<!-- <circle id="ball" cx="36" cy="36" r="1.25" fill="blue" /> -->
2823+
2824+
<rect id="ground" x="-2" y="72" width="75" height="0.4" fill="#036602" />
2825+
<rect id="outside-perimeter" width="72" height="72" fill="transparent" />
2826+
</g>
2827+
</svg>
2828+
2829+
2830+
<!-- endinject -->
2831+
</div>
2832+
<div class="card-body">
2833+
<h6 class="card-title">
2834+
Women's Lacrosse Net
2835+
</h6>
2836+
<div class="card-text">
2837+
<div class="dimensions">
2838+
<span class="bold">Dimensions: </span
2839+
><span>
2840+
68.2 x 70.1 (72 x 72 including posts)
2841+
</span>
2842+
</div>
2843+
<div>
2844+
<span class="bold">Units: </span
2845+
><span>
2846+
inches
2847+
</span>
2848+
</div>
2849+
<div>
2850+
<span class="bold">Specifications: </span
2851+
><span>
2852+
National Collegiate Athletic Association (2024 & 2025)
2853+
</span>
2854+
</div>
2855+
</div>
2856+
</div>
2857+
<div class="card-footer text-center white-bg">
2858+
<button type="button" class="grey-btn card-btn">
2859+
Go To
2860+
Women's Lacrosse Net
2861+
</button>
2862+
</div>
2863+
</a>
2864+
26862865
<a href="./field-hockey" class="card" id="field-hockey">
26872866
<div class="card-header">
26882867
<!-- inject:cardplayingarea -->

0 commit comments

Comments
 (0)