fix README rectangle descriptions and remove unused Counter component

This commit is contained in:
Adam Jeniski 2026-01-01 23:24:39 -05:00
parent 8234481f0b
commit e0d88e6653
2 changed files with 2 additions and 12 deletions

View File

@ -17,8 +17,8 @@ The visualization displays:
- **Point C** at (6, 7) - top-right anchor point - **Point C** at (6, 7) - top-right anchor point
- **Point B** - movable point that follows your mouse cursor - **Point B** - movable point that follows your mouse cursor
- **Line segment AC** - connecting the two fixed points - **Line segment AC** - connecting the two fixed points
- **Blue rectangle** - formed by points B and C - **Blue rectangle** - formed by point B and (cx, ay) = (6, 1)
- **Red rectangle** - formed by points B and A - **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: 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 1. Calculates the width and height of both rectangles in real-time

View File

@ -1,10 +0,0 @@
<script>
let count = $state(0)
const increment = () => {
count += 1
}
</script>
<button onclick={increment}>
count is {count}
</button>