powered by
Generates data for plotting a butterfly and stores it in a data frame with (x, y) coordinates and radius r
butterfly3(n = 40000)
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 { butterfly3() # }
Run the code above in your browser using DataLab