Interface: WirePoint
Defined in: protocol.ts:67
A pen sample in normalized content coordinates — u,v in 0..1 — with the rest of the instrument's inputs intact.
Short keys on purpose: these fly at 120 Hz, and while the bandwidth is trivial the JSON parse cost on the host is not entirely (a long stroke is thousands of these). Everything but position is optional, because a finger or a mouse genuinely has none of it, and the renderer degrades by design rather than by branch (an absent altitude means "upright", which is what a mouse is).
Properties
alt?
optionalalt?:number
Defined in: protocol.ts:75
Altitude from the page, radians (π/2 = upright).
az?
optionalaz?:number
Defined in: protocol.ts:77
Azimuth, radians.
p?
optionalp?:number
Defined in: protocol.ts:73
Pressure 0..1.
t
t:
number
Defined in: protocol.ts:71
Client clock, ms. Velocity and the fade both need real time, not arrival time.
u
u:
number
Defined in: protocol.ts:68
v
v:
number
Defined in: protocol.ts:69