File tree Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Original file line number Diff line number Diff line change 11# pixelmap-functions
22
3- Functions for [ ** pixelmap ** ] ( https://github.com/howion/pixelmap )
3+ Functions for pixel manipulation.
44
55## Usage
66
@@ -11,26 +11,26 @@ Include [pixelmap**Functions**.min.js](https://github.com/howion/pixelmap-functi
1111```
1212
1313``` js
14- let func = pixelmapFunctions
14+ var funcs = pixelmapFunctions
1515
1616// EXAMPLE
17- func .name ($R , $G , $B , $A )
17+ funcs .name ($R , $G , $B , $A )
1818
1919// FUNCTIONS
20- func .invert (... )
21- func .arithmeticMean (... )
22- func .sepia (... )
23- func .sine (... )
24- func .sineAbsolute (... )
25- func .squareRoot (... )
26- func .cubeRoot (... )
27- func .sigmoidRound (... )
28- func .modeRGB (... ) // INPUT = OUTPUT
29- func .modeRBG (... )
30- func .modeGRB (... )
31- func .modeGBR (... )
32- func .modeBGR (... )
33- func .modeBRG (... )
20+ funcs .invert (... )
21+ funcs .arithmeticMean (... )
22+ funcs .sepia (... )
23+ funcs .sine (... )
24+ funcs .sineAbsolute (... )
25+ funcs .squareRoot (... )
26+ funcs .cubeRoot (... )
27+ funcs .sigmoidRound (... )
28+ funcs .modeRGB (... ) // INPUT = OUTPUT
29+ funcs .modeRBG (... )
30+ funcs .modeGRB (... )
31+ funcs .modeGBR (... )
32+ funcs .modeBGR (... )
33+ funcs .modeBRG (... )
3434```
3535
3636## Graphs
@@ -57,7 +57,6 @@ func.modeBRG(...)
5757
5858## Related
5959
60- * [ ` howion/pixelmap ` ] ( https://github.com/howion/pixelmap )
6160* [ ` howion/pixasso ` ] ( https://github.com/howion/pixasso )
6261
6362## License
You can’t perform that action at this time.
0 commit comments