{"by":"subairui","descendants":21,"id":48477001,"kids":[48510751,48513838,48531992,48512264,48514407,48477378,48512807,48511037,48512870,48513600,48513380,48477022],"score":41,"text":"Hi HN! I made this after collecting hundreds of &quot;name → tree&quot; submissions at ITP.<p>Live: <a href=\"https:&#x2F;&#x2F;landscape.bairui.dev&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;landscape.bairui.dev&#x2F;</a>\nSource: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;pearmini&#x2F;infinite-landscape\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;pearmini&#x2F;infinite-landscape</a>\nPlant a tree: <a href=\"https:&#x2F;&#x2F;tree.bairui.dev&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;tree.bairui.dev&#x2F;</a><p>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&#x2F;green&#x2F;gold palette from Wang Ximeng&#x27;s &quot;A Thousand Li of Rivers and Mountains.&quot;<p>Inspired by Lingdong Huang&#x27;s {Shan, Shui}* (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;LingDong-&#x2F;shan-shui-inf\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;LingDong-&#x2F;shan-shui-inf</a>). Every tree is someone&#x27;s name, signed with an APack stamp (<a href=\"https:&#x2F;&#x2F;apack.bairui.dev&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;apack.bairui.dev&#x2F;</a>).<p>Try planting your name, then pan along the ridgeline to find it. &quot;My trees&quot; lets you jump back to ones you planted.<p>Happy to answer questions about the terrain algo, name→tree encoding, or the Riso print we tiled at ITP Winter Show!","time":1781102397,"title":"Show HN: Turn your name into a tree in an infinite procedural shanshui landscape","type":"story","url":"https://landscape.bairui.dev/"}