Files
vectorcraft/docs
dotCooCoo 71e2f35b3b Web: the Paintbrush records an airbrush pen's stylus wheel
The web build reads Pointer Events' tangentialPressure (-1..1,
https://www.w3.org/TR/pointerevents3/#dom-pointerevent-tangentialpressure)
for each pen sample, including the positions a fast stroke's events
coalesce, and gives the Paintbrush the wheel as 0..1, as the macOS reader
does. Pointer Events give 0 for a pen without a wheel, so 0 counts as no
wheel until the pen has reported another value since it came near; another
pen, the other end, a canceled press and leaving the hover range start
afresh. Mouse and finger input reads no wheel.

The canvas now pairs the feed's per-move poses with the moves of a frame
that carries touch events (the web pen), keeping the touch's force as the
pressure, so each move keeps its own wheel.
2026-11-20 21:41:54 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00
2026-11-20 06:07:45 +07:00