View an endlessly scrolling, algorithmically generated Chinese landscape painting in your browser.
Study the source code to learn how mathematical noise functions can produce art that looks hand-painted.
Embed or fork the single-file project to create your own generative art experiments.
Runs entirely in the browser with no install needed, just open the demo link.
Shan Shui is a browser-based art project that generates Chinese landscape paintings that scroll infinitely to the side. The name comes from the Chinese words for mountain and water, which are the defining subjects of a traditional style of Chinese painting called shan shui. The project is inspired by historic Chinese landscape scrolls, including famous works like "Dwelling in the Fuchun Mountains." Everything is generated by code rather than drawn by hand. The mountains, trees, and other landscape elements are built from mathematical noise functions and geometric rules, so each scroll is unique and continues forever as you pan across it. The output is in SVG format, which is a vector image format that stays sharp at any size and can be viewed directly in a browser. The project runs entirely in the browser with no server required. You can try it at the live demo link in the README without installing anything. The source code is written in JavaScript and is short enough that it fits in a single HTML page. This is a creative coding and generative art project rather than a utility tool. It demonstrates how mathematical functions can produce visual results that resemble hand-painted artwork. The README is brief and points to the live demo and a few screenshots. No build steps or configuration are needed to run it.
← lingdong- on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.