MyPaint brushlib in Javascript
Ported from brushlib - The MyPaint Brush Library Copyright (C) 2007-2011 Martin Renold [email protected]
Author: Yap Cheah Shen [email protected]
Online demo: http://www.ksana.tw/mypaint/
Wacom Browser Plugin can be download from http://www.wacom.com/CustomerCare/Plugin.aspx
https://alekpet.github.io/brushlib.js/
- Rewrite code for ES6 and support pen.
- Write module brushConvert on Nodejs for convert old and new version myb to the support brushlib javascript version and auto add load list brush to select brush element in HTML, use fetch to generated brushConvert json file incontain brushes directories with brush names.
- Add support brush image if exists in the directory.
- Add set color in input type color html tag
- Add set brush size
brushConvert support two actions:
- Convert old and new myb
- Create json contains all brushes and direcoryies
Library : https://github.com/mypaint/libmypaint
Brush library: https://github.com/mypaint/mypaint-brushes
All avaiables convertered brushes written indise in the file brushes_data.json
run_converter_python.cmd
python brushConverter.py convert
python brushConverter.py brushes
npm run convert
npm run brushes