Re: Straw man variable stroke-width syntax proposal

Hi Kari,

(2013/05/13 16:52), Kari Pihkala wrote:
> You should also make sure that the variable stroke width properties can
> be animated. Splitting the values and positions is good for that:

That's a really good point. I hadn't thought about that.

> Animation would look like this:
>
> <animate begin="0" dur="4" attributeName="stroke-widths-values"
> keyTimes="0;0.5;1" values="0.1, 1.1, 0.3 ; 0.4, 1.4, 0.4 ; 0.1, 1.1, 0.3"/>
> <animate begin="0" dur="4" attributeName="stroke-widths-positions"
> keyTimes="0;0.5;1" values="0%, 70%, 100% ; 0%, 50%, 100% ; 0%, 30%, 100%"/>
>
> In above example, the line gets thicker and then thinner, while the
> thickest point is moved towards the start of the path.

That's an interesting example. The separation of these lists seems quite 
useful after all.

Thanks,

Brian

Received on Tuesday, 14 May 2013 04:09:18 UTC