Package org.jwildfire.create.tina.randomgradient

Examples of org.jwildfire.create.tina.randomgradient.AllRandomGradientGenerator


  @Override
  public void execute(Layer pLayer) {
    int keyFrames = 3 + (int) (Math.random() * 56);
    boolean fadePaletteColors = Math.random() > 0.33;
    RGBPalette palette = new AllRandomGradientGenerator().generatePalette(keyFrames, fadePaletteColors);
    pLayer.setPalette(palette);
  }
View Full Code Here

TOP

Related Classes of org.jwildfire.create.tina.randomgradient.AllRandomGradientGenerator

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.