mirror of
https://github.com/hex248/tsos.git
synced 2026-02-07 18:23:05 +00:00
Update DEVELOPMENT_PLAN.md
This commit is contained in:
@@ -125,16 +125,16 @@ src/
|
|||||||
|
|
||||||
### Tasks
|
### Tasks
|
||||||
|
|
||||||
- [ ] Create `lib/shapes/points.ts`:
|
- [x] Create `lib/shapes/points.ts`:
|
||||||
- `generateCirclePoints(cx, cy, radius, numPoints)`
|
- `generateCirclePoints(cx, cy, radius, numPoints)`
|
||||||
- `generateTrianglePoints(cx, cy, radius, numPoints)` - points clustered at vertices
|
- `generateTrianglePoints(cx, cy, radius, numPoints)` - points clustered at vertices
|
||||||
- `generateSquarePoints(cx, cy, radius, numPoints)` - points clustered at corners
|
- `generateSquarePoints(cx, cy, radius, numPoints)` - points clustered at corners
|
||||||
- [ ] Create `lib/shapes/morph.ts`:
|
- [x] Create `lib/shapes/morph.ts`:
|
||||||
- `morphPoints(fromPoints, toPoints, t)` - lerp each point
|
- `morphPoints(fromPoints, toPoints, t)` - lerp each point
|
||||||
- [ ] Update `MorphableShape.tsx` to render as closed `Line` path
|
- [x] Update `MorphableShape.tsx` to render as closed `Line` path
|
||||||
- [ ] Create `PresetSelector.tsx` with 3 shadcn buttons
|
- [x] Create `PresetSelector.tsx` with 3 shadcn buttons
|
||||||
- [ ] Add roundness `Slider` to sidebar
|
- [x] Add roundness `Slider` to sidebar
|
||||||
- [ ] Wire preset + roundness to shape rendering
|
- [x] Wire preset + roundness to shape rendering
|
||||||
|
|
||||||
### Deliverables
|
### Deliverables
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user