ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: pmDistortRGB

pmDistortRGB(pm) applies a random distortion to the R, G, and B components of each pixel separately, and returns the result. Each R, G, and B component is shifted by at most 10 units of intensity (0..255).

pmDistortRGB(pm, r) applies a random distortion to the R, G, and B components of each pixel separately, and returns the result. Each R, G, and B component is shifted by at most r units of intensity. r is an integer between 1 and 255.