Skip to content

Commit

Permalink
Organization
Browse files Browse the repository at this point in the history
  • Loading branch information
HoubkneghteS committed Aug 3, 2020
1 parent a397587 commit 972a747
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ function loopThroughHeightmap(callback) {
});
}

/*GENERATION OF TERRAIN*/

function createHeightmap({ base = 0, amplitude = 1, scale = 100, resolution = 256, roundFactor = 10, granularScale = 0.03 } = {}, seed) {
const { Perlin2 } = require('tumult'),
small = granularScale * scale,
Expand Down

0 comments on commit 972a747

Please sign in to comment.