Re: Bug in feTurbulence c code

Jasper van de Gronde:
> I would not recommend setting both components to 1, as this could in
> principle introduce bias. The commonly accepted solution to this
> type of problem is to use rejection sampling. That is, just try
> again if you get two zeros. This would not change anything for seeds
> that happen not to give rise to zero vectors, and would let the
> algorithm work as intended for other seeds.

Just to follow up, we discussed and agreed on this approach, and Erik
has made the change to the Filters spec.

Cameron McCormack ≝

Received on Thursday, 22 January 2015 02:23:32 UTC