A filter which produces textures from fractal Brownian motion.
CELLULAR
public static final int CELLULAR
NOISE
public static final int NOISE
RIDGED
public static final int RIDGED
SCNOISE
public static final int SCNOISE
VLNOISE
public static final int VLNOISE
random
protected Random random
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- filter in interface PointFilter
getAmount
public float getAmount()
Get the amount of texture.
getAngle
public float getAngle()
Returns the angle of the texture.
- the angle of the texture.
getBasisType
public int getBasisType()
getBias
public float getBias()
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.
getGain
public float getGain()
getLacunarity
public float getLacunarity()
getOctaves
public float getOctaves()
getOperation
public int getOperation()
getScale
public float getScale()
Returns the scale of the texture.
- the scale of the texture.
getStretch
public float getStretch()
Returns the stretch factor of the texture.
- the stretch factor of the texture.
makeFBM
protected FBM makeFBM(float H,
float lacunarity,
float octaves)
setAmount
public void setAmount(float amount)
Set the amount of effect.
setAngle
public void setAngle(float angle)
Specifies the angle of the texture.
angle
- the angle of the texture.
setBasisType
public void setBasisType(int basisType)
setBias
public void setBias(float bias)
setColormap
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
setGain
public void setGain(float gain)
setH
public void setH(float H)
setLacunarity
public void setLacunarity(float lacunarity)
setOctaves
public void setOctaves(float octaves)
setOperation
public void setOperation(int operation)
setScale
public void setScale(float scale)
Specifies the scale of the texture.
scale
- the scale of the texture.
setStretch
public void setStretch(float stretch)
Specifies the stretch factor of the texture.
stretch
- the stretch factor of the texture.
toString
public String toString()