use of org.jwildfire.create.tina.base.Layer in project JWildfire by thargor6.
the class CannabisCurveDOFBlurShape method prepare.
@Override
public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
s = new XYZPoint();
d = new XYZPoint();
xform = new XForm();
fnc = new CannabisCurveWFFunc();
fnc.setParameter(CannabisCurveWFFunc.PARAM_FILLED, 1.0);
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.Layer in project JWildfire by thargor6.
the class CloverleafDOFBlurShape method prepare.
@Override
public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
s = new XYZPoint();
d = new XYZPoint();
xform = new XForm();
fnc = new CloverLeafWFFunc();
fnc.setParameter(CloverLeafWFFunc.PARAM_FILLED, 1.0);
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.Layer in project JWildfire by thargor6.
the class FlowerDOFBlurShape method prepare.
@Override
public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
s = new XYZPoint();
d = new XYZPoint();
xform = new XForm();
fnc = new FlowerFunc();
for (String paramName : getParamNames()) {
fnc.setParameter(paramName, params.get(paramName));
}
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.Layer in project JWildfire by thargor6.
the class NBlurDOFBlurShape method prepare.
@Override
public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
s = new XYZPoint();
d = new XYZPoint();
xform = new XForm();
fnc = new NBlurFunc();
for (String paramName : getParamNames()) {
fnc.setParameter(paramName, params.get(paramName));
}
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.Layer in project JWildfire by thargor6.
the class TinaController method paletteInvertBtn_clicked.
public void paletteInvertBtn_clicked() {
Layer layer = getCurrLayer();
if (layer != null) {
saveUndoPoint();
layer.getPalette().negativeColors();
refreshPaletteUI(layer.getPalette());
transformationChanged(true);
}
}
Aggregations