Tag Archives: curves

Draw improved text on a curve in C#

This example shows how to draw improved text along a curved path. The example Draw text on a curve in C# shows how to draw text along a curved path. Unfortunately the spacing between the letters is pretty mediocre in … Continue reading

Posted in algorithms, drawings, fonts, graphics, transformations | Tagged , , , , , , , , , , , , , , , | Leave a comment

Draw text on a curve in C#

The example Draw text on a line segment in C# shows how to draw text that follows a line segment. This example uses that code to draw text on a curve. The DrawTextOnPath method shown in the following code uses … Continue reading

Posted in algorithms, fonts, graphics | Tagged , , , , , , , , , , , , , , | 3 Comments

Draw an animated epitrochoid in C#

This example shows one way to draw an animated epitrochoid. (See the example Draw an epitrochoid in C# for an explanation of how to draw an epitrochoid.) This program generates all of the points needed to draw the complete curve. … Continue reading

Posted in algorithms, animation, graphics, mathematics | Tagged , , , , , , , , , , , , , , | Leave a comment

Draw an epitrochoid in C#

An epitrochoid is traced out by a point P attached to a circle of radius b rolling around a circle of radius a. (See the figure on the right above.) The shape is drawn by the following parametric equations: To … Continue reading

Posted in algorithms, graphics, mathematics | Tagged , , , , , , , , , , , | 2 Comments