Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fill_circle

Draw a Filled-In Circle


Description

Calculate the path of a circle in a grid and draw it to screen.

Usage

fill_circle(yx, r = 1, n = 50, text = "x", ...)

Arguments

yx

center (row, col) coordinate

r

radius of the circle in grid points

n

number of points along curve to calculate

text

character value drawn at coordinate

...

parameters that are passed to style(), including the foreground color fg, background color bg, and attribute attr

Value

NULL

See Also

Examples

draw_circle(yx=c(10,10), r=5)

cursr

Cursor and Terminal Manipulation

v0.1.0
MIT + file LICENSE
Authors
Chris Mann
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.