diff options
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -2,10 +2,14 @@ let canvas; let video; let ctx; let settings = { - brightness: {}, - saturate: {}, - contrast: {}, - blur: { filter: value => value * canvas.width / 100 + 'px' } + "brightness": {}, + "saturate": {}, + "contrast": {}, + "hue-rotate": {filter: value => value + "deg"}, + "grayscale": {}, + "sepia": {}, + "invert": {}, + "blur": { filter: value => value * canvas.width / 100 + 'px' } }; const img = new Image(); |