An isometric grid is the scaffolding behind isometric icons, architecture diagrams, and pixel-art scenes. This generator builds one as a tiny tileable SVG, so you get a crisp, lightweight lattice that scales to any screen and drops in as a CSS background.
How it works
In a 2:1 isometric projection, grid lines run at +30 and -30 degrees from the
horizontal. For one cell of width cell, the vertical rise is:
rise = cell × tan(angle)
The tile is made 2 × rise tall so the rising and falling diagonals connect at the
tile edges, which lets the browser repeat it seamlessly:
background-image: url("data:image/svg+xml,...");
background-size: 40px 46px;
Dot mode instead places a small circle at each lattice corner and the cell centre, giving a reference grid rather than a solid mesh.
Tips and notes
Stick with 30 degrees for genuine isometric work; other angles produce dimetric
grids that still look technical but break true iso alignment. Keep the line weight
at 1 and the colour low-contrast against the background so the grid guides the eye
without dominating. For sketching, dot mode at a 1–1.5 radius is easiest to draw
over. The background-size in the copied CSS is calculated for you, so do not round
it — the seamless tiling depends on the exact tile height.