fix README rectangle descriptions and remove unused Counter component
This commit is contained in:
parent
8234481f0b
commit
e0d88e6653
@ -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
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
<script>
|
||||
let count = $state(0)
|
||||
const increment = () => {
|
||||
count += 1
|
||||
}
|
||||
</script>
|
||||
|
||||
<button onclick={increment}>
|
||||
count is {count}
|
||||
</button>
|
||||
Loading…
x
Reference in New Issue
Block a user