Package-level declarations
The composable and the conversion boundary. Kanvas draws the scene; cgaToCanvas / canvasToCga convert between CGA model space (centered, Y-up) and canvas px (top-left-origin, Y-down) — the module's single coordinate boundary; fitScale is the one draw-scale formula the draw pass and pointer-input conversion share; and worldBorder derives the circle infinite lines are clipped against.
Functions
Link copied to clipboard
Returns the model-space FlatPoint under the canvas position — the pointer-input inverse of cgaToCanvas.
Link copied to clipboard
Link copied to clipboard