Find a file
Danila Poyarkov bf054e386b Pen tool with vector network model
Full Figma-compatible vector network: vertices, segments (cubic
bezier with tangent offsets), and regions (filled closed paths).

Pen tool interaction:
- Click to place vertices, click+drag to set bezier tangent handles
- Click first vertex to close path (with visual highlight)
- Enter to commit open path, Escape to cancel
- Preview line from last vertex to cursor
- Tangent handle visualization (lines + control points)

Rendering:
- Vector nodes rendered via CanvasKit Path API
- Converts vector network to path: regions as closed fills,
  segments as open strokes
- Proper cubic bezier from tangentStart/tangentEnd offsets

Data model:
- VectorNetwork, VectorVertex, VectorSegment, VectorRegion types
- vectorNetwork field on SceneNode (nullable)
- computeVectorBounds for node sizing
- HandleMirroring enum for future handle behavior
2026-02-28 06:37:25 +03:00
.vscode Initial commit: Tauri + CanvasKit + React editor scaffold 2026-02-27 15:48:29 +03:00
patches Patch kiwi-schema ESM and CLI builds for sparse field IDs 2026-02-27 23:04:52 +03:00
public Encode fig-kiwi binary on copy for Figma paste compatibility 2026-02-27 23:31:01 +03:00
src Pen tool with vector network model 2026-02-28 06:37:25 +03:00
src-tauri Initial commit: Tauri + CanvasKit + React editor scaffold 2026-02-27 15:48:29 +03:00
.gitignore Initial commit: Tauri + CanvasKit + React editor scaffold 2026-02-27 15:48:29 +03:00
.oxfmtrc.json Add oxlint, oxfmt, typescript-go 2026-02-27 15:52:55 +03:00
bun.lock Migrate to Tailwind CSS 4.2 2026-02-28 00:54:38 +03:00
FIGMA_UI3_CDP_FINDINGS.md Migrate React → Vue 3 + VueUse + Reka UI 2026-02-27 21:25:31 +03:00
index.html Migrate React → Vue 3 + VueUse + Reka UI 2026-02-27 21:25:31 +03:00
oxlint.json Migrate React → Vue 3 + VueUse + Reka UI 2026-02-27 21:25:31 +03:00
package.json Migrate to Tailwind CSS 4.2 2026-02-28 00:54:38 +03:00
PLAN.md Add full keyboard shortcut reference to PLAN.md, fix zoom speed 2026-02-27 23:10:27 +03:00
README.md Initial commit: Tauri + CanvasKit + React editor scaffold 2026-02-27 15:48:29 +03:00
tsconfig.json Migrate React → Vue 3 + VueUse + Reka UI 2026-02-27 21:25:31 +03:00
tsconfig.node.json Initial commit: Tauri + CanvasKit + React editor scaffold 2026-02-27 15:48:29 +03:00
vite.config.ts Migrate to Tailwind CSS 4.2 2026-02-28 00:54:38 +03:00

Tauri + React + Typescript

This template should help get you started developing with Tauri, React and Typescript in Vite.