dmitrybaranovskiy / rappar Goto Github PK
View Code? Open in Web Editor NEWSmall SVG to Raphaël parser
Small SVG to Raphaël parser
process.ARGV is now process.argv
rappar.js line ~537:
var files = process.argv.slice(0);
;)
Hi,
My SVG file has elements with ids, like:
<ellipse id='george' ...>
And these id's seem to get discarded by vectron. Would it be too hard to keep id's intact?
-G
When I run this against an Illustrator SVG 1.1, none of the gradients show up in the path objects. When I output individual tags through eve (like this)
eve.on("elemental.tag.radialGradient", factory("radialGradient"));
eve.on("elemental.tag.stop", factory("stop"));
I can output them to file and I see they are there, but I can't see a way to join the gradients and stops to the correct path, where they are originally nested, or to join the stops to the correct gradients. I realize the above method is not correct but it is the only way I get this data at all.
Any ideas would be super appreciated, thanks for this great library, it has saved me many hours of manual work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.