Functions§
- bsp_
rooms - BSP (Binary Space Partition) room generation. Returns a list of (x, y, w, h) room rectangles.
- drunkard_
walk - Drunkard’s walk cave generation. Returns a grid of booleans (true = floor).
- smooth_
noise_ 2d - Smoothed value noise with bilinear interpolation.
- value_
noise_ 2d - Value noise at integer coordinates using a hash.