Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use multiple separate paths, allow customizing the color of each component, and give a default color #301
I know this is huge and will never be done, but I have a dream!
Because apple stems are brown, and apples are red.
If we had this, the path split could be done easily from current data: http://stackoverflow.com/questions/33836224/splitting-svg-paths-programmatically
Inkscape has a path split thing: http://stackoverflow.com/questions/8753206/split-shape-defined-by-path-into-sub-paths but I can't use it properly to separate the apple stem.
But I just tried in InkScape and it worked. I used this icon as a starting point :
I selected the whole foreground, then use the
Yes, I was trying with that apple.
Humm, after "break apart", the apple disappears, only black background shows, and outlines reappear when I hover them. But I wasn't able to bucket fill anything.
Also I notice that bucket fill is really glitchy on that image for some reason, sometimes it fills things, others not. Maybe because of my old version.
Another option for the Js would be to just plug it into: https://github.com/SVG-Edit/svgedit and let people bucket fill if you manage to make that work.