Tag Archives: plot

Draw a parametric heart-shaped curve in C#

It’s almost Valentine’s Day so once again it’s time to think about how to draw a heart-shaped curve. The post Plot a heart-shaped function in C# shows one method for plotting a fairly complex function. This example plots the following … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , , , | 1 Comment

Plot a heart-shaped function in C#

This example is similar to Plot a smiley face function in C# except it shows how to plot a heart-shaped function defined by the following equations. [y – Sqrt(2.5 × 2.5 – (x – 2.5) × (x – 2.5))] × … Continue reading

Posted in algorithms, graphics, mathematics | Tagged , , , , , , , , , , , , | 1 Comment