Hello World! Happy Valentine's day programmers!
I want to reveal to you a little trick that will be very useful for Valentine's day, an equation that allows you to print a heart on the screen.
In reality, we have a lot of different equation that allows us to print a heart on screen:
(x^2 + y^2 -1)^3 = x^2*y^2 x^2+(3*y/2-(x^2)^(1/3))^2 = 1 x^6 + x^4 (3 y^2 - 3) + x^2 (3 y^4 - y^3 - 6 y^2 + 3) + y^6 - 3 y^4 + 3 y^2 = 1 // This one have the best rendering x=16*sin(t)^3, y=13*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t)
Happy Coding and Happy Valentine's day!
Remember the ❤