Atrament v1.0.0
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 thenew 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