
Hi Jayesh,
maybe you would like to coordinate your efforts with Tav?
His polyfill is available here: https://gitlab.com/Tavmjong/mesh.js/
Description here: http://tavmjong.free.fr/SVG/POLYFILL/MESH/mesh.html
(He posted this in the Inkscape g+ account)
Regards, Maren
Am 19.01.2017 um 16:20 schrieb Jayesh Salvi:
Hello,
I've implemented Javascript polyfill for SVG files that have mesh gradients in them, so that they can be rendered in browsers successfully. I ported the mesh gradient rendering code from Cairo to javascript in order to do so.
The code and instructions on how to use it are available at https://github.com/zectorio/mesh-gradient-js
This code could be run on SVG files created in inkscape and make them renderable in browser.
Please take a look. I'm looking forward to your feedback. (There are still some rough edges, as this is still a proof-of-concept thing. But the code works for examples in samples directory)
Thanks,
Jayesh
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel