Mathematical Wednesday: Happy Valentine's Day!
Happy Valentine's Day! For this week, I wanted to do something related to Valentine's day. I decided to create something that would draw hearts on a canvas. The mathematical function of the heart is two functions, one for the x coordinate, and one for the y-coordinate. My source for the mathematical function is from MathWorld. It didn't turn out as pretty as I want, but I still like it. It looks better in full-screen.
See the Pen MW: Week 7 (Valentine's Day) by Douglas (@tab) on CodePen.