Skip to content

Releases: chanind/hanzi-writer

v0.4.0

31 Jan 02:30
Compare
Choose a tag to compare
  • Adds a loopCharacterAnimation() method which makes it easy to animate a character over and over.
  • Returns a promise from animateCharacter(), hideCharacter(), showCharacter(), hideOutline(), and showOutline() which resolves when the action completes, instead of needing to pass an onComplete callback (but passing onComplete will still work).
  • If no width or height is provided, they will be inferred from the size of the parent element
  • Adds stroke-linecap: round and stroke-linejoin: round to the user-stroke drawn during quizzing which makes it look slightly nicer.
  • Adds a comment to the compiled JS with the current version number and a link to the website

v0.3.3

22 Jan 16:03
Compare
Choose a tag to compare

This release fixes a nasty bug that cause Hanzi writer to not work in Microsoft browsers (IE and Edge) due to their poor handling of SVG masks.

v0.3.2

19 Jan 02:43
Compare
Choose a tag to compare
  • Bug fix for flickering during animation in Safari
  • fixing animation start position so the full stroke gets animated
  • using performance.now() instead of Date.now() for timing during animation

v0.3.1

14 Jan 16:24
Compare
Choose a tag to compare

Further reducing filesize from 97kb to 22kb minified. This is accomplished by removing svg.js and removing bloat from babel.

v0.3.0

09 Jan 02:51
Compare
Choose a tag to compare

Removing babel-polyfill from HanziWriter. This reduces minified filesize by half from 184kb to 97kb. This polyfill should no longer be necessary anyway as all current browsers support all JS features used in HanziWriter. If users need to still support very old versions of IE they should include a polyfill themselves.

v0.2.2

07 Jan 12:45
Compare
Choose a tag to compare

This release makes stroke recognition in quizzes more lenient. This should make the quiz feature a lot more usable, especially for characters with a lot of small details.

v0.2.1

30 Sep 17:19
Compare
Choose a tag to compare

Using https to load character data from the github CDN