Hi Tavmjong, ironically I'm actually looking for a way to do it in the web. I think I'll just use Mike bostock's approach (the link in my last message) of cutting up a path into a bunch of small paths with varying colors, for now. - Joe

/#!/JoePea

On Thu, Oct 20, 2016 at 11:56 AM, Tavmjong Bah <tavmjong@...206...> wrote:
On Thu, 2016-10-20 at 11:35 -0700, /#!/JoePea wrote:
> Is there a way to do this in inkscape?
>
> For example, is there a way in Inkscape to do something similar to ht
> tp://bl.ocks.org/mbostock/4163057, but using the Inkscape UI, not
> writing code?

Not easily. If the line doesn't cross itself one can use a mesh
gradient as the attached SVG shows (note meshes are not supported by
any browsers and one must use the trunk version of Inkscape to render
the attached SVG).

Inkscape can create a number of different configurations of meshes
automatically (circular, star, etc.) but not along paths. I've actually
been thinking recently about how to automate meshes along paths.

Tav



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-user mailing list
Inkscape-user@...3230...9...sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user