W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

Re: feTurbulence returns "biased" values?

From: Jasper van de Gronde <th.v.d.gronde@hccnet.nl>
Date: Mon, 26 Apr 2010 14:14:31 +0200
Message-ID: <4BD583A7.7000309@hccnet.nl>
To: www-svg <www-svg@w3.org>
Don't worry, I figured it out myself :) (I forgot about the alpha 
channel...)

Jasper van de Gronde wrote:
> I was looking at the distribution of the color values produced by 
> feTurbulence (type=fractalNoise) and found that they are centered around 
> 0.75 (approximately) instead of 0.5. This seems to be true for Inkscape 
> as well as Batik. I've also checked the implementation in Inkscape 
> against the code in the specification, and it seems to match.
> 
> Every non-SVG example of Perlin noise I've been able to findproduces 
> values centered around 0.5, which seems more logical. Any idea where the 
> discrepancy comes from? Is this by design? Am I missing something?
> 
> 
> 
Received on Monday, 26 April 2010 12:15:05 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT