Animated rendering of Japanese kanji via Javascript/Canvas