Tag Archives: draw circle

Graph a square curve in C#

This example shows how to graph a curve that draws a square. The basic idea isn’t as bizarre as you might think. You probably know that x2 + y2 = 1 is the equation for a circle. So what is … Continue reading

Posted in algorithms, drawing, mathematics | Tagged , , , , , , , , , , , | 4 Comments

Draw a circle through three points in C#

The perpendicular bisector of any chord on a circle passes through the circle’s center. To find the center given three points, simply find the perpendicular bisectors of the first two and last two pairs of points, and see where the … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , , , , | 6 Comments