Preview of Infinite LandscapeOpen landscape.bairui.dev

landscape.bairui.dev

Infinite Landscape

Procedural infinite landscape where each name generates a unique tree using ASCII encoding and breadth-first branching, with mountains via midpoint displacement and Perlin noise.

Visit project

Show me a random project

First shared
Jun 10, 2026
HN activity
4121

Show HN@subairuiJun 10, 2026

Show HN: Turn your name into a tree in an infinite procedural shanshui landscape

Hi HN! I made this after collecting hundreds of "name → tree" submissions at ITP. Live: https://landscape.bairui.dev/ Source: https://github.com/pearmini/infinite-landscape Plant a tree: https://tree.bairui.dev/ Pan and zoom an infinite procedural landscape. Each name is converted to ASCII codes, which grow into a unique tree (breadth-first branching; repeated digits become mathematical roses). Mountains use midpoint displacement + Perlin noise, with SVG radial gradients in the blue/green/gold palette from Wang Ximeng's "A Thousand Li of Rivers and Mountains." Inspired by Lingdong Huang's {Shan, Shui}* (https://github.com/LingDong-/shan-shui-inf). Every tree is someone's name, signed with an APack stamp (https://apack.bairui.dev/). Try planting your name, then pan along the ridgeline to find it. "My trees" lets you jump back to ones you planted. Happy to answer questions about the terrain algo, name→tree encoding, or the Riso print we tiled at ITP Winter Show!

Community

Hacker News discussion

Loading the thread…