p5.brush.js v.1.1.0
pr.brush is now ES6 ready! (I think)
You should now be able to import with npm (https://www.npmjs.com/package/p5.brush), for easy bundling.
This means that you can use the hosted minified version of the library: https://cdn.jsdelivr.net/npm/p5.brush@1.1/dist/p5.brush.js
Additionally, there are many fixes/improvements:
- Fixed the rainbow problem when blending desaturated colours
- Improved fill polygon generation
- Fixed problems with using the library on p5 instance mode
- Improved documentation
- Etc.