Skip to content

Function: dabAt()

dabAt(sample, speed, params): Dab

Defined in: dabs.ts:146

One dab: the instrument's whole physics, in one function.

flatness — 0 upright, 1 flat on the page — is the tilt signal in the form everything actually wants. Note that when a browser reports no orientation at all, telemetry.ts hands us an upright pen, so flatness is 0, so every tilt term multiplies by its identity and quietly vanishes. The pencil degrades to pressure-and-velocity without a single branch.

Parameters

sample

PenSample

speed

number

params

PencilParams

Returns

Dab