Skip to content

Commit

Permalink
Corrected 2 images
Browse files Browse the repository at this point in the history
  • Loading branch information
krijnsent committed Dec 21, 2021
1 parent 817598d commit 8a67052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions excel/excel-fantasy-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ <h2>Step 1</h2>
<img src="img/excel-fantasy-map-random1.png" alt="Excel Fantasy Map Random 1"></p>
<h2>Step 2</h2>
<p>Standardize these values to the range 0-1, so they can be used easier. I added some conditional formatting for easier visual checks.<br>
<img src="img/excel-fantasy-map-goal.png" alt="Excel Fantasy Map Goal"></p>
<img src="img/excel-fantasy-map-random2.png" alt="Excel Fantasy Map Random 2"></p>
<h2>Step 3</h2>
<p>The next step is to use these random numbers to create land and sea. For this we need one more extra input: the percentage of land that the user wants. The issue is that the map just based on the random numbers from Step 2 looks like this (top 40% of random values are land here):<br>
<img src="img/excel-fantasy-map-random2.png" alt="Excel Fantasy Map Random 2"><br>
<img src="img/excel-fantasy-map-start.png" alt="Excel Fantasy Map Start"><br>
In order to make a more credible map, land masses need to be clumped together, which is basically smoothening the random values. The trick for that is using <a href="https://flafla2.github.io/2014/08/09/perlinnoise.html" rel="nofollow noopener" title="This link will take you away from steemit.com">Perlin Noise</a></p>
<h3>Perlin Noise example</h3>
<p><img src="img/excel-fantasy-map-perlin-calc.png" alt="Excel Fantasy Map Perlin Calculation"><br>
Expand Down

0 comments on commit 8a67052

Please sign in to comment.