Documentation / @ripl/terminal / rasterizeCircle
Function: rasterizeCircle()
rasterizeCircle(
cx,cy,radius,plot):void
Defined in: terminal/src/algorithms.ts:51
Rasterizes a circle outline at (cx,cy) with the given radius using the midpoint algorithm.
Parameters
| Parameter | Type |
|---|---|
cx | number |
cy | number |
radius | number |
plot | PixelCallback |
Returns
void