W3C home > Mailing lists > Public > www-svg@w3.org > October 2011

RE: patternTransform -- and toroidal wraps

From: David Dailey <ddailey@zoominternet.net>
Date: Mon, 3 Oct 2011 21:35:32 -0400
To: "'Domenico Strazzullo'" <nst@dotuscomus.com>, "'Dirk Schulze'" <vbs85@gmx.de>, "'Erik Dahlstrom'" <ed@opera.com>
Cc: <www-svg@w3.org>
Message-ID: <001d01cc8235$e8121b00$b8365100$@net>
There's also this thing I think I mentioned a while back:

remarkable browser inconsistency ensues (from zooming on patterns within patterns).

While on the topic of patterns and transforms, a thing has troubled me for some time about patterns:

Wouldn't it be nice to have the ability to allow a shape within the pattern space to "wrap"?

That is, instead of having sharp edges, suppose we had the option of making pattern tiles toroidal.
Like in the game of Asteroids, the top of the rectangle and the bottom are identified (wrapped), as are the left and right edges, so that the user can specify that any content on the edge wraps around. This allows for the creation of seamless tilings that are the mainstay of wallpaper, counter-tops, carpet, etc. I have some examples laying about here or there if my meaning isn't apparent. At least four centuries of "ornamental design" are submitted as use cases. If type="wrap" is in the spec, I haven't seen it.


-----Original Message-----
From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf Of Domenico Strazzullo
Sent: Monday, October 03, 2011 12:57 PM
To: Dirk Schulze; Erik Dahlstrom
Cc: www-svg@w3.org
Subject: Re: patternTransform

----- Original Message ----- 
From: "Erik Dahlstrom" <ed@opera.com>
To: "Domenico Strazzullo" <nst@dotuscomus.com>; "Dirk Schulze" 
Cc: <www-svg@w3.org>
Sent: Monday, October 03, 2011 4:04 PM
Subject: Re: patternTransform

> On Mon, 03 Oct 2011 12:44:23 +0200, Dirk Schulze <vbs85@gmx.de> wrote:
>> Am 03.10.2011 um 12:14 schrieb Domenico Strazzullo:
> ...
>>> You can check some results here: 
>>> http://dotuscomus.com/pergola/download/pergola_1.3.6/ExamplesHTML/Patterns/patterns.html
>>> Domenico
>> You should specify your question. I assume you mean the pixelation on 
>> the pattern tiles. IIRC all implementations try to avoid pixelated 
>> tiles. And normally it works quite well. I haven't checked why Opera, 
>> Firefox and WebKit fail on your example yet. But ideally patterns should 
>> never look pixelated, independent of the pattern transform, viewBox or 
>> other transformations.
> I agree that it would be better to render the pattern tile so that it 
> doesn't look pixelated or blurred. Opera currently doesn't compensate for 
> patternTransform scaling, but a patch for that is in the works.

Hi Erik,

Great! From what I can see I have the impression that Opera and Firefox use 
the same bitmapping engine on the patterns. If that's the case, is it safe 
to assume that Firefox could also use the patch? Or is it asking too much? 


> Cheers
> -- 
> Erik Dahlstrom, Core Technology Developer, Opera Software
> Co-Chair, W3C SVG Working Group
> Personal blog: http://my.opera.com/macdev_ed
Received on Tuesday, 4 October 2011 01:35:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:26 UTC