Science of calligraphy