3 ms·
Huh! That's a really fascinating library. My gut instinct is still that it would be a heavy lift, though. Without the Canvas API in the middle you'd need to rei
by _alastair 9y ago
Huh! That's a really fascinating library. My gut instinct is still that it would be a heavy lift, though. Without the Canvas API in the middle you'd need to reimplement pixel by pixel drawing of different shape/curves (PngPong literally only draws squares and copies sections of other images) anti-aliasing, etc. etc.
It would be a fascinating thing to work on, but the OffscreenCanvas API is coming to Chrome[1], so I suspect it would end up being a lot of work that would be obselete after not all that much time.
[1] https://www.chromestatus.com/feature/5424182347169792 https://www.chromestatus.com/feature/5424182347169792
- joshmarinacci 9y agoThis might work for you. pure JS impl of canvas https://github.com/joshmarinacci/node-pureimage https://github.com/joshmarinacci/node-pureimage
- _alastair 9y agoInteresting, I'll have to take a look. Thanks!