Re: Seed 514 in feTurbulence causes squares

"Ryan Richards" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
14783, 14862, 14921, 18607, 19537, 19852, and 19955 cause it too. Thirteen found bad seeds should been enough, right?

--- In [email protected], "Ryan Richards" <everetthigh@...> wrote:
>
> I make game cards ( http://アニメイヘム.com/ ) and use the card's ID number at the seed. Up to about 1800 so far. I was just looking through them one day and saw number 514. I thought it might have been something to do with the JPEG transcoding of the SVG so I redid it. It wouldn't go away. I submitted a bug report to Batik and nothing happened, so I gave up on it. After success in reporting a different bug in Firefox I thought I'd give this one a try. I did test 0 - 9999, and transcoded to PNG. Sorting by file size yielded the culprits. Checking the next 10,000 today. ASV is affected. Thanks for the response.
> 
> --- In [email protected], "David Dailey" <ddailey@> wrote:
> >
> > Wow! That is very odd.  Firefox and Chrome show the squares in the same
> > locations.
> > 
> >  
> > 
> > Opera, which, along with IE/ASV, for years has had the most stable and
> > complete implementation of filters, does not show the oddity, making me
> > think it is an implementation problem.  The last time I looked at Perlin
> > noise (e.g., [1]), I didn't see anything that should cause those
> > discontinuities.
> > 
> >  
> > 
> > Safari doesn't seem to like SVG, as a general principle and, like IE9 shows
> > a black rectangle. I haven't been able to test in ASV yet.
> > 
> >  
> > 
> > That FF and Chrome and Inkscape would all behave the same way, suggest that
> > they all just plugged in the same slightly flawed chunk of underlying source
> > code. I would suggest submitting a bug report to Firefox and see what those
> > folks think about the issue.
> > 
> >  
> > 
> > Interestingly, it happens at all values of numOctaves.
> > 
> >  
> > 
> > How did you find these funny numbers:  514, 1977, 2337, 4777, 8032, 9615 ?
> > (They are not a sequence in the Encyclopedia of sequences [2] - I tried just
> > on a whim.) Did you really try all 10,000 values of seed? A lot of times
> > with things involving seeds, there is also a modulus, m, and if Euler's
> > totient function of the seed and the modulus is other than m-1, then you get
> > funky holes in the periodicity, but, from my experience, those holes are
> > usually more numerous.
> > 
> >  
> > 
> > Cheers
> > 
> > David
> > 
> >  
> > 
> > [1]
> > http://webstaff.itn.liu.se/~stegu/TNM022-2005/perlinnoiselinks/perlin-noise-
> > math-faq.html 
> > 
> > [2] http://oeis.org/ 
> > 
> >  
> > 
> > From: [email protected] [mailto:[email protected]]
> > On Behalf Of Ryan Richards
> > Sent: Thursday, April 25, 2013 5:30 AM
> > To: [email protected]
> > Subject: [svg-developers] Seed 514 in feTurbulence causes squares
> > 
> >  
> > 
> >   
> > 
> > Seeds 514, 1977, 2337, 4777, 8032, 9615 (only checked 0-10000) cause blank
> > squares in feTurbulence in Firefox, Inkscape, and Batik. Is it the algorithm
> > itself or the implementations?
> > 
> > <svg version="1.1" width="338" height="488"
> > xmlns="http://www.w3.org/2000/svg">
> > <defs>
> > <filter id="Seed">
> > <feTurbulence type="turbulence" baseFrequency="0.1 0.1" numOctaves="5"
> > seed="514"/>
> > </filter>
> > </defs>
> > <path d="m0,0 h338 v488 h-338 v-488" filter="url(#Seed)"/>
> > </svg>
> > 
> > 
> > 
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
>




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.