Developer guide / Canvas

Canvas display quality

Compare pixel density, supersampling, and Pie3D curve detail at the same logical size. Hover or click a point or wedge to inspect it.

Quality comparison

2D — compatible 1:1

2D — automatic DPR × 2 supersampling

Pie3D — compatible detail (1 px)

Pie3D — DPR × 2, curve tolerance 0.1 px

renderToCanvas — compatible 1:1

renderToCanvas — explicit pixelRatio 2 × 2