Advertisement
Guest User

Simplex Implementation

a guest
Jul 17th, 2011
1,345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. SimplexNoise.genGrad(mapSeed);
  2. for (int i = initX; i < mapWidth + initX; i++)
  3.     for (int j = initY; j < mapHeight + initY; j++) {
  4.         double res = 512;
  5.         double tile = SimplexNoise.noise(i / res, j / res);
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement