Hacker News new | past | comments | ask | show | jobs | submit login
How to Plot Valentine Heart with Python and Matplotlib (youtube.com)
6 points by devposter 5 days ago | hide | past | web | favorite | 2 comments





That was fun! Liked the bit about XKCD plots too. The two equations used are:

y1 = sqrt(1 - |x|) * sqrt(|x|)

y2 = (-3/2) * sqrt(1 - sqrt(x))

Can someone explain me how to find these equations? I would like to use these equations but it would be good to know what they mean before I use them. :-)


Hi!

Thank you! I am the speaker in this video. I have explained these equations with links to graph plots at this Reddit thread: https://www.reddit.com/r/math/comments/1xwuv3/a_mathematical... (2014 thread). I hope that helps.




Applications are open for YC Summer 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: