heart_curve {MSG} | R Documentation |
Draw a heart curve
Description
Calculate the coordinates of a heart shape and draw it with a polygon.
Usage
heart_curve(n = 101, ...)
Arguments
n |
the number of points to use when calculating the coordinates of the heart shape |
... |
other arguments to be passed to |
Author(s)
Yihui Xie <https://yihui.org>
Examples
heart_curve()
heart_curve(col = "red")
heart_curve(col = "pink", border = "red")
[Package MSG version 0.8 Index]