Skip to main content

CLOCK_LINE_BASE_UNIT

Constant CLOCK_LINE_BASE_UNIT 

Source
const CLOCK_LINE_BASE_UNIT: f32 = 30.0;
Expand description

Base period, in screen pixels, used to interleave dashed clock-edge lines.

For coincident edges from N clocks, each clock gets a dash length of CLOCK_LINE_BASE_UNIT / N and a corresponding phase offset so all dashes tile the same period without overlap.