A port of the MyPaint brush engine to CoffeeScript/JS