From e0d88e6653e1a700ed593ad1eb9aa47a3bd85d16 Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Thu, 1 Jan 2026 23:24:39 -0500 Subject: [PATCH] fix README rectangle descriptions and remove unused Counter component --- line-segment-intersection/README.md | 4 ++-- line-segment-intersection/src/lib/Counter.svelte | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 line-segment-intersection/src/lib/Counter.svelte diff --git a/line-segment-intersection/README.md b/line-segment-intersection/README.md index c541f89..8b7c85e 100644 --- a/line-segment-intersection/README.md +++ b/line-segment-intersection/README.md @@ -17,8 +17,8 @@ The visualization displays: - **Point C** at (6, 7) - top-right anchor point - **Point B** - movable point that follows your mouse cursor - **Line segment AC** - connecting the two fixed points -- **Blue rectangle** - formed by points B and C -- **Red rectangle** - formed by points B and A +- **Blue rectangle** - formed by point B and (cx, ay) = (6, 1) +- **Red rectangle** - formed by point B and (ax, cy) = (1, 7) As you move your mouse over the canvas, point B follows the cursor, and the application: 1. Calculates the width and height of both rectangles in real-time diff --git a/line-segment-intersection/src/lib/Counter.svelte b/line-segment-intersection/src/lib/Counter.svelte deleted file mode 100644 index 770c922..0000000 --- a/line-segment-intersection/src/lib/Counter.svelte +++ /dev/null @@ -1,10 +0,0 @@ - - -