A cardoid is a popular way of plotting a heart shaped curve. However, I mentioned in another comment in this thread that the heart plotted with Python and Matplotlib in this repository is not made of cardoid. Instead, it is made of semicircles and quartic curves. Here's the comment with more details: https://news.ycombinator.com/item?id=19162360.