ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: drawCircle

drawCircle(v, r) draws a circle with center v ∈ R^2 and radius r in the current 2D visualization window.

drawCircle(v, r, s) draws a circle with center v ∈ R^2 and radius r in the current 2D visualization window using the style (CSS) s.

All numbers refer to the visualization window's coordinate system.

Example: drawCircle(❨2, 2❩, 1, "colour:red; border−colour:white")