Skip to content

Latest commit

 

History

History

auto

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Automatic Width/Height Tile Test

Input:

+-+-+-?
|X| |?|
+-+-+-+
| |X| ?
+-X-+-+
| | |X|
+-+-+X+

Output:

SVG

maze

Symbol behavior:

  • +, -, and | symbols (the rectangles) have specified dimensions (to form a grid)
  • X sets its width and height according to its column and row, but preserves its aspect ratio (because preserveAspectRatio="xMidYMid" is the SVG default).
  • ? (the built-in undefined symbol) sets its width and height according to its column and row, and allows for nonuniform scaling (via preserveAspectRatio="none").