Today the New York Times published the article “The Perfect Valentine? A Math Formula” featuring a widget which allows you to visualise the equation
$(x^2 + (1+b)^2y^2 +z^2 -1)^3 -(x^2 +ay^2 )z^3 $
where $a$ and $b$ are parameters. This equation may not seem romantic at first but as soon as we see the visualisation we cannot help but agreeing with the article first sentence:
“Nothing says I love you like a customisable algebraic equation”

You can customise your equation within the Süss — German for “sweet” — widget created for Valentine’s Day by Imaginary, a nonprofit organisation in Berlin that designs open-source mathematics programs and exhibitions.
Or if you are a true romantic, you can make your very own heart (in your favourite palette) for that especial person in Python using only numpy, pandas, and plotly.

Viridis Magenta Red Red with sparse mesh Viridis with sparse mesh
Python Code here:
Happy Valentine’s Day!