Canvas Sampler
object CanvasSampler
Renders what one frame shows inside its FrameBoxes box, at factor times the canvas size — the draft renders at four times the target and reduces later. Each output pixel takes the frame pixel under its centre, nearest-neighbour: no resampling filter, so every output colour or label is one the frame really held. What lies beyond the frame's edge is empty.