Page 1 of 1

Is there a way to programmatically fill(paint) areas

Posted: Sat Sep 30, 2017 12:51 pm
by armnotstrong
Hi, I wonder if there is a way to iterate all the areas in an SVG and fill(paint) with different colors on different areas?

Thanks

Re: Is there a way to programmatically fill(paint) areas

Posted: Sat Sep 30, 2017 5:47 pm
by Lazur
Hi.

The interpolate extension can iterate colour changes based on the two base paths selected.

The interpolate attribute in group can also come handy if the paths are pre-existing.

Tiled clones can iterate colour changes and not just interpolate steps in between, however the options may be limited in some way.