Re: Proposals for SVG 1.2

Doug Schepers wrote:
 > Mark McKay wrote:
 > | Another useful features would be to add tile grids.  The trouble 
with many
 > | fill patterns is that they have no variation, which makes them appear
 > static.  | While this can be broken up by strategicly placing foreground
 > objects, it's
 > | better to provide the ability to modify the background itself.  For
 > example, | if I'm creating an image of a brick wall, while I'd like 
to have
 > the wall
 > | looking mostly like a solid pattern of bricks, I'd also like to 
give the
 > wall | bricks some variety.  Some will be cracked, some will be off 
color,
 > and a few
 > | will be dirty.  This can be done easily with a grid and a three or 
four
 > | source brick tiles:
 >
 > One way to get close to this in SVG would be to have 2 background
 > rectangles, each filled with a different pattern. The top pattern 
would be
 > mostly blank, but would have some odd bricks to overlay the regular 
ones in
 > the back. However, I also think it would be nice to have some way to do
 > irregularity in patterns automagically.

I am thinking about tiles for some time.
Unless I missed something in the SVG 1.1 spec. (I haven't read the new 
1.2 spec yet), you can only make tiles (patterns) of rectangular shape, 
placed on a rectangular grid.

As Mark suggested, it would be nice to be able to specify at least an 
offset (translation) to apply on each row, relative to the previous row.
This would allow easily brick wall patterns, hexagon tiling, etc.

Althought interested in the field, I am not a tiling expert, far from 
it. <http://www.scienceu.com/geometry/articles/tiling/index.html> for 
example. It seems there are 17 possible symmetry for wallpaper tiling.

Well, I am not asking for such precision, and perhaps all possible 
tilings can be made with the current rectangular grid. After all, that's 
the way HTML make its tilings, and it leads to quite a good amoung of 
patterns.

But allowing at least this offset thing, adding just a parameter or two 
(x and y offsets), would ease a lot design of complex tilings.
If hexagon tiling is possible, it is quite hard to design it by hand...

-- 
Philippe Lhoste
--  (near) Paris -- France
--  Professional programmer and amateur artist
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --

Received on Saturday, 30 October 2004 09:25:31 UTC