Skip to content

Procedurally understandably generated Chinese landscape painting.

Notifications You must be signed in to change notification settings

RedContritio/shan_shui_inf

Repository files navigation

{Shan, Shui}*

English | 中文

Procedurally-understandably-generated vector-format infinitely-scrolling Chinese landscape for the browser.

This project is based on react framework, and use typescript to code.

Support downloading svg image of any range (without background).

The algorithm is based on page of {Shan, Shui}* coded by Lingdong Huang

[TOC]

Install

sudo apt-get install nodejs
npm install # or `yarn`

Usage

npm start

Render Components

man

man

water

water

architecture

arch01

arch01

green - hut

red - box

pink - rail

arch02

arch02

black - deco

red - box

arch03

arch03

blue - pagroof

red - box

pink - rail

arch04

arch04

blue - pagroot

red - box

pink - rail

boat01

boat01

transmissionTower01

tower01

tree

tree01

tree01

tree02

tree02

tree03

tree03

tree04

tree04

tree05

tree05

tree06

tree06

tree07

tree07

tree08

tree08

mountain

mountain

mountain

flatmountain

flatmountain

distmountain

distmountain

TODO

  • Add airplane
  • Deploy to GitHub Pages via GitHub Actions
  • More smooth autoscroll

About

Procedurally understandably generated Chinese landscape painting.

Resources

Stars

Watchers

Forks

Packages

No packages published