On the formation of handwriting