Introduction

Handwriting is a highly skilled rhythmic fine motor activity, which acquires automaticity through overlearning. For these reasons, it is particularly susceptible to the motor disturbance of Parkinson’s disease (PD). Micrographia, defined by Kinnear Wilson as a reduction of the size of lettering in relation to pre-morbid calligraphy [1], is the best recognized parkinsonian writing disorder and is present in 50–60% of PD patients [2].

Computerized graphics tablets can analyze the dynamic aspects of writing, revealing abnormalities that are invisible to pen-and-paper methods. Alterations in velocity, acceleration and fluency are as important as reduced static script size, and the term PD dysgraphia has been proposed to encompass all of these deficits [3]. It has been suggested that kinematic measures of handwriting and drawing are sensitive enough to detect early signs of PD [4]. Using computerized handwriting techniques, it may therefore be possible to identify the first evidence of a parkinsonian motor deficit in at-risk patients (genetically predisposed, or diagnosed with rapid eye movement sleep behavior disorder), increasing the early disease period available for treatment or clinical trials of possible neuroprotective drugs [5]. Thereafter, kinematic writing parameters could augment global motor disability scoring in tracking the motor decline [6, 7].

Responsiveness of PD dysgraphia to dopaminergic drugs is important to a disease monitoring role for computerized writing. Although medication effects have not always been considered in previous handwriting research [5, 6], a number of studies have tested handwriting with and without dopaminergic drugs. While these have shown that anti-parkinsonian treatment does improve writing, there is lack of agreement about which aspects are most responsive.

Cobbah et al. gave levodopa and apomorphine test doses to six PD patients and found improvement in the velocity and acceleration of pen strokes [8]. Eichhorn et al. observed that various kinematic parameters of writing responded to apomorphine when a good overall motor response was present [9]. Tucha et al. noted that levodopa administration results in a partial restoration of automatic movement execution for writing [10]. In the study by Poluha et al., levodopa improved stroke speed without enlarging script size [11]. Broeder et al. showed that dual-task conditions with additional cognitive loading reduced writing amplitude in PD patients but not controls [12].

A shortcoming in some earlier studies has been their restricted handwriting tasks, commonly confined to the repetition of a few letters such as ‘e’ and ‘l’. This approach does not separate improvements in primary motor control from the better execution of complex or concurrent tasks. We aimed to study the change in kinematics of writing in PD patients with treatment using levodopa across a range of activities that required increasing degrees of motor and cognitive processing. An additional objective was to quantify the effect of levodopa by means of a practically defined off state and test dose method. It was our hypothesis that levodopa improves handwriting kinematics for simple writing tasks more than for those associated with cognitive loading or simultaneous action.

Materials and methods

Participants

Twenty-four patients diagnosed with PD within the last 10 years were recruited from the Movement Disorders Clinic at Monash Medical Centre. All complied with the Queen Square Brain Bank criteria for idiopathic PD [13]. The presence of any advanced disease clinical milestones i.e., visual hallucinations, frequent falling, cognitive disability, need for institutional care were exclusion criteria [14]. There were 25 healthy age-matched controls with no neurological or musculoskeletal abnormalities. Each PD subject’s usual morning levodopa was administered in a practically defined off state (fasting, with anti-parkinsonian medication withheld for at least 12 h). The on state was taken to be the maximum improvement over the subsequent 30–90 min. Motor function in off and on states was scored by a neurologist on the Unified Parkinson’s Disease Rating Scale Part III (UPDRS-III) [15]. The cognitive screening was performed using the Montreal Cognitive Assessment (MoCA) [16]. Levodopa equivalent daily doses were calculated using standard conversion factors [17]. The study was conducted in accordance with human experiments Helsinki Declaration (revised 2004) and approved by the Monash Health and RMIT University Human Research Ethics Committees. All participants in this study gave their written informed consent prior to data recording.

Recording methods

A digital tablet (Wacom Intuos Pro-Large) with an ink-pen having a pressure sensor was used for the experiments. The advantage of this device was that it gave participants the feeling of conventional pen and paper, likely to be less defamiliarizing to older subjects. Participants sat on a chair and the tablet was placed on an adjustable desk, the height and positioning of which was selected by each participant.

Customized software was developed to record and analyse data from the tablet. This registered the x–y coordinates, pen pressure and time stamp at a 133 Hz sampling rate.

Handwriting tasks

Handwriting specimens were obtained for six different tasks, which were selected such that there was an increase in the level of complexity and attention for each successive task.

  1. 1.

    Repeating the letter ‘e’[8]

  2. 2.

    Repeating the letter ‘b’ then repeating the letter ‘d’

  3. 3.

    Repeated writing of ‘bd’

  4. 4.

    Repeatedly writing the word ‘hello’ [10]

  5. 5.

    Copying a sentence [18]

  6. 6.

    Written animals category fluency test [19]

The task of repeatedly writing of the letter e was assumed to be the most basic assessment of the fine motor skills of writing. Because writing strokes are differentially affected by PD, the letters ‘b’ and ‘d’ were chosen for Tasks 2 and 3 [9, 20]. Tasks 5 and 6 were more complex with increased levels of cognitive loading. Task 5 required attention and visuospatial memory whereas Task 6 involved working memory and searching for stored information [19]. Task 6 was administered as a written version of the category fluency test. Participants were asked to write up to 15 names of animals in a horizontal list without any time limit. Figure 1 shows sample images of all writing tasks performed by a PD participant.

Fig. 1
figure 1

Sample images of writing tasks performed by a PD participant in an off state

Computation of kinematic features

The writing data for each task were segmented based on pen-up and pen-down motions. Segments of length less than 0.5 mm corresponded to dots and were excluded. Vertical and horizontal velocity and acceleration were calculated separately to understand the effect in each direction [21]. The kinematic features extracted from each segment were: (i) speed of pen tip while moving on the surface S, (ii) velocity in x direction \({\stackrel{-}{v}}_{\text{x}}\) and y direction \({\stackrel{-}{v}}_{\text{y}}\) and (iii) rate of change of velocity of the pen tip in x direction \({a}_{\text{x}}\) and y direction \({a}_{\text{y}}\). Each segment was weighted according to the length of that segment to calculate weighted average kinematic features as previously described [7]. This ensured that small segments associated with pen-up motions did not unduly influence the results.

Statistical analysis

Continuous non-parametric features (by Shapiro–Wilk test) obtained from all the 6 tasks for On and Off state of PD groups were compared using the Wilcoxon signed rank test, and the Mann–Whitney U test for independent samples obtained from PD in on state and controls. Spearman rank-order correlation coefficients were calculated to assess the strength of associations between the kinematic features with UPDRS score for all the three groups [22]. The median values have been reported as the descriptive statistics for kinematic features. Effect sizes (\(r)\)were computed for the differences between the groups [23]. Data analysis was performed using IBM SPSS statistical software package.

Results

Table 1 contains demographic information and a summary of the motor and cognitive assessments for the participants. UPDRS-III scores decreased from 26.8 ± 9.50 in off states to 19.6 ± 8.62 when on. Four PD subjects and two controls scored below 26 on the MoCA. There was only a small difference in mean MoCA score between the groups (27.2 versus 28.0), of negligible clinical significance. All participants were fluent in English. None had major neurocognitive disability according to DSM-V criteria [24].

Table 1 Demographic and clinical information, PD patients and controls

Table 2 shows the median values of five kinematic measures for each of the six handwriting tasks along with the Z statistic (Wilcoxon signed rank test) and U statistic (Mann–Whitney U test) results. Comparing PD off states with on states, most kinematic features in Task 1 showed highly significant (p < 0.001) improvement (Wilcoxon signed rank test for all on–off comparisons), with large effect size (\(r\) > 0.5) [23]. The differences between off and on for Task 3 were significant for all the features with p < 0.01 or p < 0.05 and moderate to large effect size. Horizontal acceleration for Task 2 and Task 4 did not respond significantly to levodopa. For Task 5 and Task 6, no significant difference was observed for any feature. Comparing PD patients in on states with controls, all features showed a significant difference \((p\) < 0.01 by Mann–Whitney U) for all of the tasks with moderate to large size effects. Figure 2 shows the median values of the speed of handwriting for all the handwriting activities in PD and control groups.

Table 2 Kinematic features for the six writing tasks
Fig. 2
figure 2

Bar chart of median writing speeds of PD participants in on and off states, and controls

Spearman’s rho did not reveal a significant correspondence in PD patients between UPDRS-III scores in off or on states and kinematic measures, or between the levodopa motor response (off minus on UPDRS-III score) and kinematic measures. There was no significant correspondence between aggregate tremor sub-score (UPDRS items 3.15–3.18) and kinematic measures.

Discussion

Our set of writing tests began with the simple letter repetition of Task 1 and introduced incremental complexity in motor planning at each stage up to Task 5, while both Tasks 5 and 6 required substantially greater cognitive resources. As shown in Table 2, there was a progressive reduction in the statistical significance of improvements from off to on for multiple kinematic parameters across the tasks. By Tasks 5 and 6, there were no significant differences between the on and off states. We conclude that levodopa improves the kinematics of basic penmanship (Tasks 1–4), but that much of this benefit was lost for sentence copying and written word fluency, where a substantial lexical semantic element had been added. Lewis et al. showed that PD patients with no cognitive impairment perform at a similar level to controls on Semantic fluency verbal test (animals) testing [25]. All six tasks can be considered to require similar levels of fine motor control. It is evident that levodopa improves this, which is in agreement with previous studies [8, 10], while the findings of lack of improvement due to levodopa in Tasks 5 and 6 cannot be attributed to the production of writing alone.

We have observed that the levodopa effect is incomplete. Differences between PD patients in on states and controls persist for almost all the writing tasks (p < 0.01). This confirms that computerised writing analysis appears to be a robust discriminator of PD dysgraphia from age-related changes in writing style [6, 26]. The scope of this paper is kinematics—the characteristics of motion. We did not examine static writing size. Nor did we consider temporal aspects of pen lifts within and between words, which may reflect time taken for motor planning in more complex writing tasks [27].

David Marsden, in developing his ideas about the role of the basal ganglia in motor planning, considered the act of writing [28]. He used examples of his own script to show that the character of penmanship is independent of the muscles used to execute it, revealing a common motor plan. Referring to observations previously made by Schwab et al. [29], he highlighted the breakdown in motor planning when PD patients perform simultaneous or sequential actions [28]. This dual-task phenomenon is relevant to our finding that there is little significant levodopa response when the PD patients are required to read and memorize while writing. It agrees with previous research which found that writing amplitude was decreased in PD patients but not controls when combined with a secondary task of counting high and low tones [12]. None of our patients had the cognitive disabilities that are often associated with advanced PD. Most had MoCA scores of greater than 26 and the group difference from controls was negligible, suggesting that the differences between the handwriting tasks are not cognitively based. Rather, they are likely to reflect a deficit in the simultaneous automatic execution of learned motor plans, a hypothesis proposed by Redgrave et al. [30]. This supports the findings by Maillet et al. using functional MRI during unilateral hand movement, speech production and both. Cerebral activation was restricted with simultaneous movement in PD, and this dual-task effect was only partially improved by levodopa [31].

Speech and handwriting are complex activities that comprise multiple simultaneous motor plans. Both are modes for communication that engage the language and cognitive faculties. For both, there is a conflicting body of research about the extent and pattern of levodopa responsiveness in PD. The ‘hypokinetic dysarthria’ of PD consists of hypophonia and reduced variability in pitch and loudness, roughly analogous to limb bradykinesia. Previous acoustic analyses of phonation have shown substantial [32] or little [33] improvement after levodopa administration, though overall intelligibility does seem to respond [34]. The small study by Ho et al., which used rigorously defined off phase testing of drug response, found an improvement in the intensity and speed of speech that appeared to equate to an overall upscaling of movement [32]. But pitch and articulation were little changed, and intensity decay over a breath cycle worsened if anything. There are similarities here with our findings—that levodopa benefits primary motor activity but is less effective for simultaneous motor plans that contain cognitive input. It could be argued that freezing of gait, which shows variable levodopa responsiveness and sometimes appears resistant to the drug, demonstrates this inability to perform multiple tasks when a patient is distracted by an external stimuli [35].

Conclusion

This controlled study of patients in the early–middle stages of PD has explored task-dependent aspects of computerized kinematic handwriting analysis in relation to dopaminergic treatment. These techniques have shown promise as an early detector of parkinsonian motor deficits [6]. Our findings on dual-task effects suggest that a panel of writing tests for such research should include ones that require higher-level cognitive and language processing in addition to simpler letter production. This would increase the range of sensitivity as a potential biomarker in patients known to be at risk for developing PD. Thereafter, the weaker levodopa responsiveness of sentence copying and written word fluency would make these tests more stable indicators of motor progression once symptomatic treatment has been commenced.