[filter-effects] Bug in feTurbulance random algorithm.

Hi,

Both Inkscape and Mozilla have bug reports concerning an error in the
feTurbulance random algorithm.[1][2] This bug results in squares being
drawn for certain seed values. (Example[3]) There is a discussion of the
problem on svg-developers.[4]

The Inkscape bug report traces the problem to a divide by zero when both
values in the fGradient table are zero which occurs for some seed
values. A couple solutions are proposed in the comments.

Tav

[1] https://bugs.launchpad.net/inkscape/+bug/1406458
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=862225
[3] https://launchpadlibrarian.net/193702227/turbulence-seed514.png
[4]
https://www.mail-archive.com/svg-developers@yahoogroups.com/msg16062.html

Received on Sunday, 4 January 2015 10:45:24 UTC