Skip to content

Atrament v1.0.0

Compare
Choose a tag to compare
@jakubfiala jakubfiala released this 01 Jan 21:54

First major version bump of Atrament is here!

This version brings breaking changes to the API and new features, such as:

  • getting rid of the atrament factory function, and replacing it with the new Atrament(... constructor
  • adding a proper events system with new events such as
    • strokestart/strokeend
    • fillstart/fillend
    • strokerecorded
  • By recording reconstructible stroke data, it's now possible to implement undo/redo functionality, as well as canvas transforms on top of Atrament
  • making the smoothing parameter a number, which means developers can fine tune their desired smoothing intensity