How does the digital signature drawing engine simulate realistic fountain pen, ballpoint, and calligraphy nib physics?
Camly's canvas drawing engine tracks pointer coordinates and instantaneous velocity (v = Δd / Δt) to compute dynamic stroke widths using Catmull-Rom spline interpolation and quadratic Bézier curve smoothing, mimicking real ink flow without jagged mouse steps.
- Dynamic velocity tracking ($v = \Delta d / \Delta t$) automatically thins rapid strokes and thickens deliberate accents
- Quadratic Bézier curve interpolation eliminates jagged polygon edges from standard mouse or touch input
- Full hardware pressure sensitivity support for Apple Pencil, S-Pen, and active stylus pens
- Multiple pen modes: Ballpoint Pen (uniform), Fountain Pen (velocity fluid), Calligraphy Nib (angled chisel)
