This paper presents a design methodology for a system of linkages that can trace planar Bezier curves that represent cursive handwriting of the alphabet and Chinese characters. This paper shows that the standard degree *n* Bezier curve can be reparameterized so that it takes the form of a trigonometric curve that can be drawn by a one degree-of-freedom coupled serial chain consisting of 2*n* links. A series of cubic Bezier curves that define a handwritten name yields a series of six-link coupled serial chains that trace these curves. We then show how to simplify this system using cubic trigonometric Bezier curves to obtain a series of four-link serial chains that approximate the system of Bezier curves. The result is a methodology for the design of a mechanical system that draws complex plane curves such as the cursive alphabet and Chinese characters.

## Introduction

Kempe's universality theorem [1] states that for every real algebraic curve, there exists a linkage that draws the curve, which means every Bezier curve has an associated linkage constructed using Kempe's approach [2]. However, this construction yields a complex linkage even for the case of cubic curves [3].

In this paper, we show that a degree *n* Bezier curve can be drawn by a coupled serial chain with 2*n* links. A coupled serial chain is a serial chain constructed so each of the joints is driven by the base joint such that the system has one degree-of-freedom [4,5]. Therefore, a cubic Bezier curve is drawn by a six-link coupled serial chain.

Finally, we use the shape parameter in cubic trigonometric Bezier curves to simplify the system by eliminating two links to obtain four-link serial chains that draw the desired curves. We apply this to the design of linkage systems that generate cursive alphabet and script Chinese characters.

## Literature Review

Recent research on Kempe's universality theorem has yielded drawing linkages for rational plane and space curves [6–8] by factoring a suitable motion polynomial in the Clifford algebra of dual quaternions [9]. Bezier curves formed from dual quaternions with trigonometric weighting functions [10–12] have been used for robot path planning.

Ge et al. [13] modified the polynomial formulation of Bezier curves using trigonometric weighting functions, which they called harmonic rational Bezier curves, in order to eliminate higher harmonics. Sanchez-Reyes [14] and Han [15] reformulated harmonic Bezier curves as trigonometric Bezier curves to draw plane curves. More recently, Juhasz and Roth [16] showed how to use trigonometric spline curves for interpolation.

Our use of cubic trigonometric Bezier curves follows the formulation of Han [17], who used four control points to define a curve that has the same properties as cubic polynomial Bezier curves [18]. Therefore, in this paper, we define a system of plane curves using cubic Bezier curve segments and then use the results of Liu and McCarthy [19] to design a mechanical system that draws the curves.

Our examples consist of cursive alphabet [20] and Chinese characters [21] that are drawn with a set of continuous strokes that form a series plane curves. We design planar systems of coupled serial chains that draw these curves using a single input.

The contribution of this research is an extension of computer-aided mechanism design techniques described by Sonawale and McCarthy [22] and Ge et al. [23] to achieve devices that draw complex curves, which has a range of applications such as physical models for profile curves that define tolerance zones [24], kinematic models for protein movement [25], and mechanical devices that support handwriting rehabilitation [26,27] and handwriting recognition [28].

## Degree *n* Bezier Curve

*n*Bezier curve can be reparameterized to obtain a curve defined by component functions that are Fourier series, known as a trigonometric curve [15]. The equation for degree

*n*Bezier curve is given by [29]

*k*of the angle

*θ*[30]. For example, the formulas for $\u2009sin2\theta ,\u2009\u2009cos2\theta $, $\u2009sin3\theta $, and $\u2009cos3\theta $ are given by

*n*Bezier curve are defined by a finite Fourier series in

*θ*, which means it is a trigonometric curve [15]. Liu and McCarthy [19] showed that a trigonometric curve

**p**(

*θ*) defined by Fourier series is given by

where **a*** _{k}* = (

*a*,

_{xk}*a*) and

_{yk}**b**

*= (*

_{k}*b*,

_{xk}*b*),

_{yk}*k*= 0, …,

*n*are the real coefficients and can be drawn by a coupled serial chain consisting of 2

*n*links.

This curve is drawn by the coupled serial chain constructed with six-links, see Fig. 1. The links *L*_{1}, *L*_{2}, and *L*_{3} rotate counterclockwise, while the links *M*_{1}, *M*_{2}, and *M*_{3} rotate clockwise, with the joint angles *θ*, 2*θ*, and 3*θ*, respectively. The initial configuration of the chain is defined by the phase angles *ψ*_{1}, *ψ*_{2}, and *ψ*_{3} and *η*_{1}, *η*_{2}, and *η*_{3}. The dimensions of the eight six-link chains that draw “Yang” are listed in Table 1.

## Cubic Trigonometric Bezier Curve

Figure 2 shows the comparison of the cubic Bezier curves with cubic trigonometric Bezier curves that have *λ* = −0.5 and *λ* = 0.5, respectively.

## Compute the Coupled Serial Chain

**a**

*and*

_{k}**b**

*,*

_{k}*i*= 0, 1, 2, 3, are given by

*k*the coefficients

**a**

*and*

_{k}**b**

*are used to compute the magnitudes,*

_{k}*L*and

_{k}*M*, and phase angles

_{k}*ψ*and

_{k}*η*of vectors defining the links of the coupled serial chain

_{k}This shows that the cubic trigonometric Bezier curve is drawn by a six-link serial chain with three links rotating counterclockwise and three links rotating clockwise. In Sec. 6, we show how to design the coupled serial chains that draw a sequence of cubic Bezier curves.

## Linkage System to Draw Cursive Letters

In this section, we design the system of eight coupled serial chains that draw the eight cubic Bezier curves shown in Fig. 3, which spells the name Yang in cursive letters. The control points for each of these eight curves are listed in Table 2. The link lengths of the *m*th coupled serial chain are obtained using Eq. (12) with *λ* = 0.01 for each of the eight curve segments. These lengths are listed in Table 3.

Table 3 shows that the last two links are less than 1% of the lengths of the other links in the serial chain. Therefore, we evaluate the effect of using only the first four-links to draw the Bezier curves by selecting *N* = 1000 points on the two curves and computing the maximum difference Δ between corresponding points. In order to scale this measurement, use the distance $d=|P0\u2212P3|$, to obtain *ε* = Δ/*d*.

which means the maximum variation is less than 1% of the size of the curve. Figure 4 shows a comparison of these two curves.

The elimination of short links does not change the shape of a curve but it does introduce a gap between curves that is approximately the size of the last two links. In Sec. 6.1, we close this gap and show its effect on the resulting curves.

### Correction for Four-Link Serial Chains.

These are listed in Table 4. We eliminate this gap by adjusting the ground pivot location of each of the four-link drawing linkages.

For convenience, we introduce local coordinates for each of the *m* serial chains so that **G*** _{j}* = (0, 0),

*j*= 1, …,

*m*. This yields the local coordinates of these curves

We can compute the new ground pivots for each of the serial chains relative to the ground pivot of the first chain, **G**_{1}* _{j}*, by requiring that the end point

**E**

*of curve*

_{j}*j*be the start point

**S**

_{j}_{+1}of the curve

*j*+ 1, see Fig. 5. This yields

where we consider **G**_{11} = 0.

## Linkage System to Draw Script Chinese Characters

In this section, we design the drawing linkage for the script form of the Chinese character “long,” which means dragon. Figure 10 is a copy of the Chinese script for long drawn using the drawing software inkscape. From this drawing, we obtain nine cubic Bezier curves that form the character, as shown in Fig. 11. The control points for these nine cubic Bezier curves are listed in Table 6.

For this example, we found that the shape parameter can be used either to match the cubic Bezier curves or to reduce the size of the end-links to simplify the coupled serial chain. Figure 12 shows that by specifying *λ* = −0.5, we can make the maximum deviation *ε* ≤ 0.01 for all the curves. On the other hand, if we adjust the desired shape of this Chinese character so that *λ* = 0.01, we find that the last two links are of lengths less than 1% of the other four-links. This provides a simpler drawing linkage.

## Practical Considerations

This paper shows that a cubic Bezier curve can be drawn by a six-link serial chain. The designer can use the shape parameter of cubic trigonometric Bezier curves to adjust the curve so that the two end-links of the six-link serial chain are small enough to be neglected resulting in a four-link drawing linkage.

This means that an assembly of *m* cubic Bezier curves can be drawn mechanically by *m* coupled six-link serial chains connected to a single actuator, and in some cases, by *m* four-link serial chains. This is a significant reduction in complexity of drawing linkages relative to current implementations of Kempe's universality theorem [3,6–8].

## Conclusion

This paper shows that a collection of planar Bezier curves obtained from cursive handwriting can be used to design a system of coupled serial chains that draw these curves. Furthermore, by using trigonometric Bezier curves, the shape function can be used to adjust the original curves and simplify these serial chains.

Two examples demonstrate this methodology. The first yields a linkage system that draws the cursive letters spelling Yang using eight four-link coupled serial chains driven by one actuator. The second draws a script version of the Chinese character long, or dragon, using nine interconnected four-link coupled serial chains.

## Funding Data

National Science Foundation, Directorate for Engineering (Grant No. 1636017).