Personal handwritings can add colors to human communication. Handwriting, however, takes more time and is less favored than typing in the digital age. In this paper we propose an intelligent algorithm which can generate imitations of Chinese handwriting by a person requiring only a very small set of training characters written by the person. Our method first decomposes the sample Chinese handwriting characters into a hierarchy of reusable components, called character components. During handwriting generation, the algorithm tries and compares different possible ways to compose the target character. The likeliness of a given personal handwriting generation result is evaluated according to the captured characteristics of the person's handwriting. We then find among all the candidate generation results an optimal one which can maximize a likeliness estimation. Experiment results show that our algorithm works reasonably well in the majority of the cases and sometimes remarkably well, which was verified through comparison with the groundtruth data and by a small scale user survey.