Longest edge of the shape in px
Empty space between shapes
Degrees, -360 to 360
Shape colour
Leave empty for no outline
Outline thickness in px
Drawn once per tile
Preview — repeating tile of 40 × 40 px
One shape is drawn per tile and the browser repeats it across the canvas, so a small file covers a large area. Tile width and height are the shape size plus the gap; rotation is applied with the pattern's
patternTransform, which keeps the tile grid aligned. The preview above is rendered from the exact code you copy — change the canvas size in the file if you need a different background area.Very small tiles with a large stroke can look muddy when the page scales them down. If the pattern looks blurred, increase the shape size or reduce the stroke width, and remember the copied file ships at 480×320 unless you edit its width and height.