# Tilemap
Play Demo
Demonstrates the GPU-batched tilemap renderer with:
- Procedurally generated tileset texture (grass, dirt, water, stone, flowers)
- Two layers: background terrain + foreground decorations
- Arrow key / WASD camera panning
- Single draw call per layer via SSBO instancing
## Source Code
```{literalinclude} ../../packages/graphics/examples/2d_tilemap.py
:language: python
:linenos:
```