Examples of Bias


Examples of ca.grimoire.jnoise.modules.map.Bias

   * @return the created Bias module.
   * @throws BuilderException
   *           if the source module has not been provided.
   */
  public Bias createModule () throws BuilderException {
    return new Bias (getSource ().createModule (), scale, translation);
  }
View Full Code Here

Examples of ca.grimoire.jnoise.modules.map.Bias

      double lacunarity, double persistence, Quality quality) {
    double frequency = Math.pow (lacunarity, octave);
    double amplitude = Math.pow (persistence, octave);

    Gradient generator = new Gradient (seed + octave, quality);
    return new Scale (new Bias (generator, amplitude), frequency);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.