powered by
Generates data for plotting a heart and stores it in a data frame with (x, y) coordinates and radius r
heart3(n = 1e+06)
The number of points to generate
The equations were discovered by the mathematical artist Hamid Naderi Yeganeh.
Hamid's equations can be found here.
# NOT RUN { heart3() # }
Run the code above in your browser using DataLab