Tag Archives: heart

Draw a 3D heart using WPF and C#

The post Draw a parametric heart-shaped curve in C# shows how you can draw a 2D heart for Valentine’s Day. This example draws and rotates a 3D heart. The example is pretty complicated and contains a lot of tools that … Continue reading

Posted in algorithms, drawing, graphics, mathematics, wpf | Tagged , , , , , , , , , , , , , , | Leave a comment

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