DigitalInk
Digital ink stroke data format standard (validation / normalization) β Layer 0 Foundation
Statusβ
| Key | Value |
|---|---|
| Layer | foundation |
| Tier | L0 |
| Status | wip |
| Version | 0.9.0 |
| Price | Free (free) |
| Category | Input & UX |
Overviewβ
Overviewβ
DigitalInk is the Layer 0 Foundation Plugin of multi-saas-kit. It defines and validates standard stroke data for handwriting, signatures, sketches, and annotation input.
It is a dependency base for HandwritingInput, RecognitionBridge, and BrushConfiguration. It does not include learning evaluation or SaaS-specific workflows.
Standard Formatβ
Uses a Google Input Tools compatible ink array shape. Each stroke consists of x coordinates, y coordinates, and optional timestamps. x/y/t arrays must have matching lengths.
Featuresβ
- StrokeData::fromArray(payload, config): validation and instantiation
- strokeCount(), pointCount(), hasTimestamps()
- StrokeNormalizer::normalize(): canvas coordinates to unit coordinates
- denormalize(targetW, targetH): unit coordinates to a new canvas
- boundingBox(): min/max coordinates and size
Validation Rulesβ
- canvas size: 80~4096 px
- max strokes: 1000
- max points per stroke: 10000
- x/y/t array length must match
- coordinates must be numeric
Relationshipsβ
- RecognitionBridge: uses StrokeData for provider API calls
- HandwritingInput: composite of DigitalInk + RecognitionBridge + BrushConfiguration
- BrushConfiguration: canvas/brush configuration foundation in the same input stack
Licenseβ
MIT
Demosβ
- Platform κ΄λ¦¬μ ν¨λμμ λ©ν νμΈ π Login required
- μ¬μ© μμ (PHP)
π View on Plugin Store: store.codebase.how/plugins/digital-ink