|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CAMatrix | |
---|---|
toxi.sim.automata |
Uses of CAMatrix in toxi.sim.automata |
---|
Methods in toxi.sim.automata that return CAMatrix | |
---|---|
CAMatrix |
CAMatrix.addNoise(float probability)
|
CAMatrix |
CAMatrix.addNoise(float probability,
int minState,
int maxState)
Adds noise to the matrix. |
CAMatrix |
CAMatrix.drawBoxAt(int x,
int y,
int w,
int state)
Sets all matrix cells in a square around the given x,y coordinates to the requested state. |
CAMatrix |
CAMatrix.reset()
Clears the matrix and resets the generation counter. |
CAMatrix |
CAMatrix.seedImage(int[] pixels,
int imgWidth,
int imgHeight)
Uses the given ARGB pixel array as seed mask for the matrix. |
CAMatrix |
CAMatrix.setRule(CARule r)
Assigns the given rule as evaluator for this matrix. |
CAMatrix |
CAMatrix.setStateAt(int x,
int y,
int state)
Sets the cell state at x,y. |
CAMatrix |
CAMatrix.update()
Evolves the matrix to the next generation by applying one iteration of the assigned CARule implementation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |