title: Make Perlin Noise Scaleable
body: <p>I got a perlin noise algorithm and an opensimplex noise algorithm that returns a double based on the X and Y values given. I'm designing software and I would like to know how to:</p>
  
  <ul>
  <li>Scale the perlin noise with a 0-1 double value</li>
  <li>Allow building the perlin at different resolutions (i.e. 1024, 2048) but still maintain scale, but add additional detail.</li>
  <li>Allow user to change world size, which also affects the scale</li>
  </ul>
  
  <p>My current code for this:</p>
  
  <pre><code>double scale = ((((Double) parameters.get(SCALE).getValue() * 10) + 0.25) * ProjectSettings.WORLD_SIZE) /  ((double) resolution / 1000);
  double x = 0;
  double y = 0;
  OpenSimplexNoise noise = new OpenSimplexNoise((Long) parameters.get(SEED).getValue());
  for(int n = 0; n &lt; resolution; n++) {
      x += scale;
      for(int m = 0; m &lt; resolution; m++) {
          y += scale;
          values[n][m] = noise.generateOpenSimplexNoise(x, y, (Double) parameters.get(PERSISTENCE).getValue(), (Integer) parameters.get(OCTAVES).getValue());
      }
  }
  </code></pre>