Some Screenshost: https://imgur.com/a/Yi2Gtyz
Repository: https://github.com/mrgaturus/npainter
You might be interested in looking at the Nile graphics project. I don't think anything happened with it after the paper went out. It basically models all the steps of a canvas library as streams so a curve stream takes a bezier definition and outputs line segments, a line stream takes line segments and outputs tuples to stamp dabs on, he also used a custom domain specific language to specify the math formulas.
Even without the stream logic that last one is kind of useful. The formulas don't change even though the underlying color formats do (ex. 8-bit RGB, 16-bit RGB, 32-bit floats, the maths all the same really just some bookkeeping values change) and it could save some headache.
There's also a whitepaper where someone basically adapted Knuth-Plass to fit their math in to SIMD instructions :3