shan-shui-inf icon indicating copy to clipboard operation
shan-shui-inf copied to clipboard

could you please elaborate how it's work and which algorithms used

Open nvcken opened this issue 5 years ago • 8 comments

nvcken avatar Apr 19 '19 02:04 nvcken

Hi nvcken,

Thanks for the question. Each element in the landscape is modelled using different rules, so it is hard to explain in a few sentences. But basically I use a combination of functions (sinusoidal waves, Gaussian distribution, etc.) and randomness (Perlin noises, uniform, etc.). Is there any particular element (rock, tree, etc.) you’re interested in?

P.S. I’m planning to write a documentation detailing each step, I’ll link to it in this repo once I finish it.

LingDong- avatar Apr 19 '19 16:04 LingDong-

this project is awesome, I want to know the principle too

TangMonk avatar Oct 09 '19 09:10 TangMonk

What if I can draw it in JavaScript via the technique metioned here. Just wait for your documentation around how to creating tree, rock, and moutains.

aleen42 avatar Dec 19 '19 04:12 aleen42

我也想知道各个元素是怎么提取建模的!

zengcity avatar Dec 19 '19 09:12 zengcity

It would be cool if someone can port the code to generate non-stop scrolling desktop/phone wallpaper and/or screensavers! Nice work! Looking forward to the write-up.

Derek-K avatar Feb 04 '20 03:02 Derek-K

P.S. I’m planning to write a documentation detailing each step, I’ll link to it in this repo once I finish it.

Can't wait to read this document!

Easonzero avatar Dec 16 '21 06:12 Easonzero

I have rewritten this project in react with typescript. maybe it will help to understand.

my project

RedContritio avatar Dec 16 '21 13:12 RedContritio

Hi guys, time has passed and the documentation hasn't been created, so I made it myself.

Make a note that the code has been modernized, and most of the names have been changed for better readability.

Megaemce avatar Dec 22 '23 05:12 Megaemce