With a bit more trickery, you can even implement the Non-Zero fill rule (Canvas2D default), instead of the simpler Even-Odd rule. Ejecta now supports both:
btw do you have any numbers on how bezie drawing using OpenGL compares to regular drawing on 2d canvas, performance wise?
let's say I have an html5 app which draws stuff using 2d canvas. do you think it makes sense to draw to webgl instead using implementation like yours, i.e. mapping 2d canvas api to webgl?
https://github.com/phoboslab/Ejecta/blob/master/Source/Eject...