1.0 KiB
1.0 KiB
| id | title | status | assignee | created_date | labels | milestone | dependencies | references | priority | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-29 | Port folk-drawfast shape (collaborative drawing/gesture recognition) | To Do | 2026-02-18 19:50 |
|
m-0 |
|
|
low |
Description
Port DrawfastShapeUtil from canvas-website to rspace-online.
Source: canvas-website/src/shapes/DrawfastShapeUtil.tsx (652 lines) Target: rspace-online/lib/folk-drawfast.ts
Features to implement:
- Freehand sketch input canvas
- Gesture recognition (circles, lines, rectangles, arrows)
- Shape detection and conversion
- Real-time collaborative drawing
- May use perfect-freehand (already in rspace deps)
Acceptance Criteria
- #1 Freehand drawing works with pointer/touch input
- #2 Gesture recognition detects basic shapes
- #3 Drawing state syncs across clients
- #4 Toolbar button added to canvas.html