Package ca.grimoire.jnoise.modules.transform

Examples of ca.grimoire.jnoise.modules.transform.Scale


   * @return a Scale module.
   * @throws BuilderException
   *           if the source module has not been provided.
   */
  public Scale createModule () throws BuilderException {
    return new Scale (getSource ().createModule (), getX (), getY (), getZ ());
  }
View Full Code Here


      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

Related Classes of ca.grimoire.jnoise.modules.transform.Scale

Copyright © 2018 www.massapicom. 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.